MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / reducer_context

Method reducer_context

crates/datastore/src/execution_context.rs:194–196  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

192 /// If this is a reducer context, returns the full reducer metadata.
193 #[inline]
194 pub fn reducer_context(&self) -> Option<&ReducerContext> {
195 self.reducer.as_ref()
196 }
197
198 /// Returns the type of workload that is being executed.
199 #[inline]

Callers 3

tx_consumes_offsetMethod · 0.80
commit_txMethod · 0.80
commit_tx_downgradeMethod · 0.80

Calls 1

as_refMethod · 0.45

Tested by

no test coverage detected