Skip to main content

Module context

Module context 

Source
Expand description

Actor execution context.

The context provides actors with access to:

  • Self reference for receiving messages
  • Actor system for spawning child actors
  • Cancellation status for graceful shutdown
  • Timer scheduling (when enabled)

Structsยง

CancellationToken
A cancellation token for signaling shutdown.
Context
Context provided to actors during execution.