MCPcopy Create free account
hub / github.com/Effect-TS/effect / forClient

Method forClient

packages/cluster/src/ClusterSchema.ts:35–38  ·  view source on GitHub ↗

* @since 1.0.0

(context: Context.Context<never>)

Source from the content-addressed store, hash-verified

33 * @since 1.0.0
34 */
35 static forClient(context: Context.Context<never>): boolean {
36 const value = Context.get(context, Uninterruptible)
37 return value === true || value === "client"
38 }
39}
40
41/**

Callers 1

onFromClientFunction · 0.80

Calls 1

getMethod · 0.65

Tested by

no test coverage detected