Expand description
Runtime values.
Structs§
- Actor
Cell - Internal state of a
conc.Actor. Protected by aMutexso that theLexhandler variant serialises on message delivery (one message processed at a time, state mutated under the lock). Thehandleris dispatched on the calling VM’s thread — no extra OS thread required — which lets Lex handlers invoke arbitrary effects (sql, net, …) through the same handler chain. - Native
Actor Handler - Erased Rust-side handler for
ActorHandler::Native. Boxed so we can store any closure that captures (e.g. anmpsc::Sender). Wrapped inArcso cloning anActorCell(which the existingconc.tellflow does —let handler = guard.handler.clone()) is cheap and the closure isn’t duplicated.
Enums§
- Actor
Handler - Two ways an actor’s handler can be implemented.
- MapKey
- Hashable, ordered key for
Value::Map/Value::Set. v1 supportsStrandInt; extending to other primitives or to records is forward-compatible since the type is not exposed to user code beyond the surface API. - Value