Remote / foldkit-remote-server
exprContext
function · packages/remote-server/src/index.ts:730
function exprContext(
body: AnyQuery,
viewer: Option.Option<EntityRef> | undefined,
now: number,
): ExprContextWhat a body's Expr.viewer and Expr.now read on this server: the viewer
the request was given, and the server's clock. A body that reads the viewer
in a run given none (not through a server) is refused, never read as a
visitor's.