useSystem
Function: useSystem()
useSystem<
T>(input?):GlobalOperationContext
Defined in: packages/core/src/contexts/globaloperationcontext.ts:66
Create a system operation context, to call an operation as the system
const ctx = useSystem({ full: true });
await callOperation(ctx, "Service.Method");
Type Parameters
T
T = any
Parameters
input?
T
the operation input, serialized as JSON
Returns
a new system operation context