Module meio::handlers[][src]

This module contains the Envelope that allow to call methods of actors related to a sepcific imcoming message.

Structs

Interact

The wrapper for an interaction request that keeps a request and the channel for sending a response.

InteractionTask

Interaction task that can be awaited or aattached to a Context.

Parcel

Parcel packs any message for an Actor for further processing that can be done later.

Traits

Action

Action type can be sent to an Actor that implements ActionHandler for that message type.

ActionHandler

Type of Handler to process incoming messages in one-shot style.

Consumer

Represents a capability to receive message from a Stream.

Eliminated

Listens for spawned actors finished.

InstantAction

The high-priority action.

InstantActionHandler

Type of Handler to process high-priority messages.

Interaction

Interaction message to an Actor. Interactions can’t be high-priority (instant), because it can block vital runtime handlers.

InteractionDone

Independent interaction results listener. It necessary to avoid blocking.

InteractionHandler

Implements an interaction with an Actor.

InterruptedBy

The listener to an interruption signal.

Scheduled

Represents reaction to a scheduled activity.

StartedBy

Represents initialization routine of an Actor.

StreamAcceptor

Controls where stream can be accepted to an Actor using Address.

SyncAction

The synchronous action (useful for rendering routines).

SyncActionHandler

Handler of sync actions.

TaskEliminated

Listens for spawned tasks finished.

Type Definitions

InteractionResponder

The alias to sender of an interaction result.