GraphReFlyTS

API Reference

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

import { EnvironmentDrivers } from "@graphrefly/ts/graph";

Signature

class EnvironmentDrivers

Example

import { EnvironmentDrivers, fetchHttpDriver } from "@graphrefly/ts/graph";

const drivers = new EnvironmentDrivers().withHttp(fetchHttpDriver());

Source

packages/ts/src/graph/environment.ts