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

Function getRuntime

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

Source from the content-addressed store, hash-verified

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

Callers 3

verifySessionFunction · 0.85
organizationDisplayFunction · 0.85
authorizeLastOrgSlugFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected