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

Function getRuntime

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

Source from the content-addressed store, hash-verified

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

Callers 2

verifySessionFunction · 0.85
organizationDisplayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected