MCPcopy Create free account
hub / github.com/GCWing/BitFun / payload

Method payload

src/crates/execution/runtime-services/src/backend_events.rs:41–46  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

39 }
40
41 pub fn payload(&self) -> Result<serde_json::Value, serde_json::Error> {
42 match self {
43 Self::Custom { payload, .. } => Ok(payload.clone()),
44 _ => serde_json::to_value(self),
45 }
46 }
47}
48
49pub struct BackendEventSystem {

Callers 4

setup_panic_hookFunction · 0.45
register_listenerFunction · 0.45
emitMethod · 0.45

Calls 1

cloneMethod · 0.45