Interface ITsakModule
Contract for a route module that can be discovered, loaded, and initialized in a context.
Equivalent of lt.tsak IRouteModule, adapted for redb.Route.
public interface ITsakModule
Properties
CanInitialize
Whether the module can be initialized (all deps met, no errors).
bool CanInitialize { get; }
Methods
Initialize(IRouteContext)
Initializes routes in the given context, synchronously. The coordinator reaches it through the
IRouteContext Initialize(IRouteContext context)
InitializeAsync(IRouteContext)
Initializes routes in the given context. This is the entry the coordinator awaits, and the context
Task<IRouteContext> InitializeAsync(IRouteContext context)