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

Method into_reducer_name

crates/datastore/src/execution_context.rs:188–190  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

186 /// If this is a reducer context, returns the name of the reducer.
187 #[inline]
188 pub fn into_reducer_name(self) -> Option<ReducerName> {
189 self.reducer.map(|ctx| ctx.name)
190 }
191
192 /// If this is a reducer context, returns the full reducer metadata.
193 #[inline]

Callers 3

releaseMethod · 0.80
commit_and_thenMethod · 0.80
rollbackMethod · 0.80

Calls 1

mapMethod · 0.45

Tested by

no test coverage detected