Skip to content
PACKAGES

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 { EnvironmentDrivers } from "@graphrefly/ts/graph";
class EnvironmentDrivers
import { EnvironmentDrivers, fetchHttpDriver } from "@graphrefly/ts/graph";
const drivers = new EnvironmentDrivers().withHttp(fetchHttpDriver());

packages/ts/src/graph/environment.ts