apply
Given an event event
, returns the next corresponding event that this lifecycle should dispose on.
Return
the target event that should signal disposal.
Parameters
event
the source or start event.
Throws
if the lifecycle exceeds its scope boundaries.