Sha256: f950aea3eef12a55835ab3c034c5bb85e6418fdd14092f8113eacae701008539
Contents?: true
Size: 446 Bytes
Versions: 1
Compression:
Stored size: 446 Bytes
Contents
module Celluloid # Exceptional system events which need to be processed out of band class SystemEvent < Exception; end # An actor has exited for the given reason class ExitEvent < SystemEvent attr_reader :actor, :reason def initialize(actor, reason = nil) @actor, @reason = actor, reason super reason.to_s end end # Request for an actor to terminate class TerminationRequest < SystemEvent; end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
celluloid-0.10.0 | lib/celluloid/events.rb |