Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

336 B
Raw Blame

"effect": patch

ManagedRuntime: add Symbol.asyncDispose, enabling await using syntax

import { Effect, Layer, ManagedRuntime } from "effect"

await using runtime = ManagedRuntime.make(Layer.empty)

await runtime.runPromise(Effect.log("Hello, world!"))
// runtime is disposed automatically at the end of the scope