EnvironmentDrivers
Graph-local bundle of environment drivers.
Instances are immutable snapshots of the process, HTTP, SSE, WebSocket, and webhook driver set consumed by source/adapter bodies.
Import
Section titled “Import”import { EnvironmentDrivers } from "@graphrefly/ts/graph";Signature
Section titled “Signature”class EnvironmentDriversExample
Section titled “Example”import { EnvironmentDrivers, fetchHttpDriver } from "@graphrefly/ts/graph";
const drivers = new EnvironmentDrivers().withHttp(fetchHttpDriver());Source
Section titled “Source”packages/ts/src/graph/environment.ts