Structs§
- Aspect
Addr - An aspect’s address, comprising of an aspect guid and an actor id
- Aspect
Upsert - A command used for
aspect_upsert
to issue an aspect insertion/update that needs to be synced with the host - Behavior
Module Id - Identifier for a specific version of a module.
- Behavior
Module Registration - Contains all registration info for an external behavior module
- Behavior
Registration - Describes a behavior in an external behavior module
- Behavior
Type Id - Represents a unique behavior type in an external behavior module
- Incoming
Message - A message to be sent to a specific behavior instance for processing
- Outgoing
Message - An outgoing message that is being sent from a behavior instance to the controller module
- Outgoing
Message Addr - An outgoing message’s address, targeting either an entire actor or a specific behavior
Constants§
- CONTROLLER_
SENTINEL_ ACTOR_ ID - Sentinel value indicating that a message is a system message, with open interpretation of what this entails, by the behavior module.
- INCOMING_
MESSAGE_ NO_ INSTANCE_ SENTINEL - Sentinel value indicating that a system message has no instance tied to it.
- INVALID_
GUID_ COMPONENT
Statics§
- API
- FFI API
Functions§
- aspect_
remove - Requests to remove aspect data associated to a single actor in a store. If the aspect store doesn’t exist, nothing happens
- aspect_
reset_ all - Reset all existing aspect stores to their initial states
- aspect_
upsert - Requests multiple insertions or updates in aspect stores; if an aspect doesn’t exist, it’s seamlessly created on the host
- instance_
clone - Clone a behavior instance to create a new identical instance
- instance_
create - Create a behavior instance of the specific type
- instance_
destroy - Destroy a behavior instance
- instance_
persist - Persist a behavior instance by serializing it to a blob
- instance_
restore - Restore a behavior instance by deserializing it from a persistent representation
- instances_
handle_ messages - Have the specified instances process the provided messages
- list_
modules - Returns a serialized JSON vector of bytes with a list of external registration info.
- load_
behavior_ module - Loads the module with the given ID.
- publish
- Publishes the module with the given ID and returns a possibly different ID of the published version.
Type Aliases§
- ActorId
- Behavior
Instance Id - A globally unique id representing a behavior instance that lives somewhere in an active behavior module
- Behavior
Type IdInner - A globally unique id representing a behavior type
- Guid