sent To Inbox
public static DispatchOutcome sentToInbox<I>(SignalEnvelope<? extends Object, ? extends Object, ? extends Object> signal, I entityId)
Returns an outcome, which tells that the passed signal was sent to the inbox of the entity with the passed ID.
Parameters
signal
the signal which has been sent to the inbox
entity Id
identifier of the entity, to which inbox the signal has been sent
Returns an outcome, which tells that the passed event was sent to several inboxes of entities with the passed identifiers.
In case an empty set of entity IDs was passed, returns an outcome telling there were no targets to route the signal to.
Parameters
event
the event which has been sent to inboxes
entity Ids
identifiers of entities, to which inboxes the event has been sent