Module crossbus::context

source ·
Expand description

actor-level execution state and local environment during runtime

Context starts before actor get created, and dropped after actor closed, its lifecycle covers actor’s.

It kind of serves as a back-end of the actor, and almost all actor methods get called with Context.

Structs

  • execution state and local environment for actor during runtime
  • Future-oriented runner that drive all tasks into completion