Skip to content

An open-source, self-hosted system for apps built with web technologies.

Update runtime context terminology

zohayrslilehbbf0dce992e6
diff --git a/source/client/view/components/desktop-host/client-process-boundary.ts b/source/client/view/components/desktop-host/client-process-boundary.ts
index 9cc03a5..7f3aac1 100644
--- a/source/client/view/components/desktop-host/client-process-boundary.ts
+++ b/source/client/view/components/desktop-host/client-process-boundary.ts
@@ -155,8 +155,8 @@ export default class ClientProcessBoundary extends TheLink {
return
}
- // The SDK reconstructs `current` from this boundary's own Process so
- // `current.server` is the exact handle at `current.process().server`.
+ // The SDK reconstructs `context` from this boundary's own Process so
+ // `context.server` is the exact handle at `context.process().server`.
// A module may request that essential self-description before its
// document reaches the iframe load event that establishes a forwarding
// lease. It is safe to answer here: this boundary already owns `pane`,
diff --git a/source/client/view/components/desktop-host/host.ts b/source/client/view/components/desktop-host/host.ts
index 6039ac9..b080b10 100644
--- a/source/client/view/components/desktop-host/host.ts
+++ b/source/client/view/components/desktop-host/host.ts
@@ -426,9 +426,9 @@ export default function host(authManager: AuthManager, pane: string, desktop: ()
}
// What a launch said. An explicit subject is a held sibling; the
- // empty subject used by `current.option()` is this frame's Process.
+ // empty subject used by `context.option()` is this frame's Process.
// The latter is resolved here rather than named by program code,
- // exactly like every other `current` operation on this side.
+ // exactly like every other `context` operation on this side.
if (word === "option") {
const found = args[0] === undefined ? process() : scope.sibling(args[0])
diff --git a/source/server/core/link-manager/auth-manager/process-manager/process.ts b/source/server/core/link-manager/auth-manager/process-manager/process.ts
index 926a399..584475a 100644
--- a/source/server/core/link-manager/auth-manager/process-manager/process.ts
+++ b/source/server/core/link-manager/auth-manager/process-manager/process.ts
@@ -266,7 +266,7 @@ export default class Process {
}
// The process value every road carries. Parentage is deliberately
- // absent: it is asked through `current.parent()`, so a client gate
+ // absent: it is asked through `context.parent()`, so a client gate
// can hide a cross-program parent without first exposing it here.
public record() {