Convenience class for anonymous reactor declarations.
Convenience class for anonymous reactor declarations.
Serves as a placeholder for cyclic declarations.
Creates a reactor proto from a closure.
Creates a reactor proto from a closure.
This is a short-hand for creating a reactor template.
type of the main event stream
reactor body
Returns the current reactor that produces events of type T
.
Returns the current reactor.
Returns the current reactor.
If the caller is not executing in a reactor, throws an IllegalStateException
.
The caller must specify the type of the current reactor if the type of the reactor is required.
the type of the current reactor
the current reactor
Returns the current reactor, or null
.
Returns the current reactor, or null
.
The caller must specify the type of the current reactor if the type of the reactor is required.
the type of the current reactor
the current reactor, or null