ZenithCommandHandler<C extends ZenithCommand<R>, R> typedef

ZenithCommandHandler<C extends ZenithCommand<R>, R> = FutureOr<R> Function(ZenithRef ref, C command)

Function signature for command execution handlers.

Implementation

typedef ZenithCommandHandler<C extends ZenithCommand<R>, R> =
    FutureOr<R> Function(ZenithRef ref, C command);