maybe Sent To Inbox
public static DispatchOutcome maybeSentToInbox<I>(SignalEnvelope<? extends Object, ? extends Object, ? extends Object> signal, Optional<I> entityId)
Returns an outcome, which tells that the passed signal was intended to be sent to the inbox of the entity with the passed ID.
If the passed Optional
of entity ID is not present, returns an outcome telling there were no targets to route the signal to.
Parameters
signal
the signal which has been sent to the inbox
entity Id
an optional identifier of the entity, to which inbox the signal should have been sent