MCPcopy Create free account
hub / github.com/dfinity/orbit / caller

Function caller

libs/orbit-essentials/src/cdk.rs:37–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35 }
36
37 pub fn caller() -> Principal {
38 CALLER_ID.with(|c| *c.borrow())
39 }
40
41 pub fn spawn<F: 'static + std::future::Future<Output = ()>>(_future: F) {
42 // do nothing since this is a mock for testing purposes

Calls

no outgoing calls

Tested by

no test coverage detected