struct

Spacetime::Wasm::ReducerContext

Inherits Struct < Value < Object

Context passed to SpacetimeDB reducers in Crystal modules.

Constructors

new(db : Datastore, sender : Identity = Identity::ZERO, timestamp : Timestamp = Timestamp.now, connection_id : ConnectionId = ConnectionId::ZERO)
Source

Instance methods

connection_id
Source
sender
Source
timestamp
Source