Documentation ¶
Overview ¶
Package actor contains the real actor stuff, i.e. listeners (loops), steps waiting for events/messages and default handlers for further processing, and the dispatcher, i.e. the top-level actor.
Index ¶
- func DoneHandler(ctx *b.Context) (loop bool)
- func EchoHandler(ctx *b.Context, msg *b.Message) bool
- func Forward(ctx *b.Context, spec m.Map, msg *b.Message)
- func GetActions(ctx *b.Context, actions m.Map, msg *b.Message, k []string) []m.Map
- func Ignore(ctx *b.Context, spec m.Map, msg *b.Message)
- func MakeRequesterName(msg *b.Message) string
- func MessageHandler(ctx *b.Context, msg *b.Message) (loop bool)
- func RunActor(ctx *b.Context, name string, spec m.Map)
- func RunActors(ctx *b.Context)
- func SelectActions(ctx *b.Context, actions m.Map, msg *b.Message) (acts []m.Map)
- func Setup(ctx *b.Context)
- func StartDispatcher(ctx *b.Context)
- func Startup(ctx *b.Context)
- func Step(ctx *b.Context) (loop bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoneHandler ¶
func GetActions ¶ added in v0.1.8
func MakeRequesterName ¶ added in v0.1.13
func SelectActions ¶ added in v0.1.8
func StartDispatcher ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.