MCPcopy Create free account
hub / github.com/effect-app/libs / managedRuntimeRt

Function managedRuntimeRt

packages/vue/src/makeClient.ts:650–650  ·  view source on GitHub ↗
(mrt: ManagedRuntime.ManagedRuntime<A, E>)

Source from the content-addressed store, hash-verified

648
649// somehow mrt.runtimeEffect doesnt work sync, but this workaround works fine? not sure why though as the layers are generally only sync
650const managedRuntimeRt = <A, E>(mrt: ManagedRuntime.ManagedRuntime<A, E>) => mrt.runSync(Effect.context<A>())
651
652type Base = I18n | Toast
653type Mix = ApiClientFactory | Commander | Base

Callers 1

getBaseRtFunction · 0.85

Calls 1

contextMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…