CapGdlrCommandRouter

Inherits: GdlrCapability < RefCounted < Object

Capability that plans the route of a command.

Description

Godular does not ship a service for this capability, and the bundled CapGdlrCommandBus service does not call it. Provide a router when your application decides routes in one place, and set the result on CapGdlrCommandBus.CommandMeta.route before you dispatch.

Tutorials

Methods


Method Descriptions

CapGdlrCommandBus.CommandRoute plan(envelope: CapGdlrCommandBus.CommandEnvelope) abstract 🔗

Returns the route for envelope.