ri > Concurrent::Actor::AbstractContext

= Concurrent::Actor::AbstractContext < Object

------------------------------------------------------------------------
= Includes:
(from /home/chedong/.local/share/rdoc)
  TypeCheck
  InternalDelegations

(from /home/chedong/.local/share/rdoc)
------------------------------------------------------------------------
New actor is defined by subclassing {RestartingContext}, {Context} and
defining its abstract methods. {AbstractContext} can be subclassed
directly to implement more specific behaviour see {Root} implementation.

* {Context}

  > {include:Actor::Context}

* {RestartingContext}.

  > {include:Actor::RestartingContext}

Example of ac actor definition:

{include:file:docs-source/actor/define.out.rb}

See methods of {AbstractContext} what else can be tweaked, e.g
{AbstractContext#default_reference_class}

@abstract implement {AbstractContext#on_message} and
{AbstractContext#behaviour_definition}
------------------------------------------------------------------------
= Class methods:

  spawn
  spawn!
  to_spawn_options

= Instance methods:

  <<
  ask
  ask!
  behaviour_definition
  core
  dead_letter_routing
  default_executor
  default_reference_class
  envelope
  on_envelope
  on_event
  on_message
  pass
  tell

= Attributes:

  attr_reader core

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-30 14:04 @216.73.217.152
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!