AqueductExtension extension

on

Properties

context AqueductContext
Gets the context for the current isolate.
no setter
dataPort SendPort
Gets the outgoing event stream for this isolate.
no setter
events Stream
Gets the ingoing event stream for this isolate.
no setter
last Future
Creates a future that completes with the last event received, i.E. the event passed to exit.
no setter
next Future
Creates a future that completes with the next received event.
no setter

Methods

exit(Object value) → void
Exits this isolate and returns value as its last event.
send(Object value) → void
Sends an event to the other isolate.