IActorExtensions Type
Extension methods for IActor
Static members
| Static member | Description |
Full Usage:
IActorExtensions.CreateCommand(actor, entityFactory, cid, aggregateId, command, filter)
Parameters:
IActor
entityFactory : Func<string, IEntityRef<obj>>
cid : CID
aggregateId : AggregateId
command : 'TCommand
filter : Func<'TEvent, bool>
Returns: Async<Event<'TEvent>>
|
|
Full Usage:
IActorExtensions.InitActor(actor, initialState, entityName, handleCommand, applyEvent)
Parameters:
IActor
initialState : 'TState
entityName : string
handleCommand : Func<Command<'TCommand>, 'TState, EventAction<'TEvent>>
applyEvent : Func<Event<'TEvent>, 'TState, 'TState>
Returns: EntityFac<obj>
|
|
Full Usage:
IActorExtensions.InitSagaStarter(actor, eventHandler)
Parameters:
IActor
eventHandler : Func<obj, IList<SagaDefinition>>
|
|
|
|
|
|
Full Usage:
IActorExtensions.SendCommandAsync(actor, entityFactory, cid, aggregateId, command, filter)
Parameters:
IActor
entityFactory : Func<string, IEntityRef<obj>>
cid : CID
aggregateId : AggregateId
command : 'TCommand
filter : Func<'TEvent, bool>
Returns: Task<Event<'TEvent>>
|
|
FCQRS