MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / getRuntime

Function getRuntime

apps/cloud/src/auth/doc-gate.ts:74–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72// exactly what the unified app handler already does.
73let runtime: ManagedRuntime.ManagedRuntime<WorkOSClient, unknown> | undefined;
74const getRuntime = () => (runtime ??= ManagedRuntime.make(WorkOSClient.Default));
75
76type VerifiedSession = {
77 readonly userId: string;

Callers 3

verifySessionFunction · 0.85
organizationDisplayFunction · 0.85
authorizeLastOrgSlugFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected