17 lines · 765 B · TypeScript
RawDownload
import type { ProviderDriverKind, ProviderInstanceId, ServerProvider } from "@t3tools/contracts";import type * as Stream from "effect/Stream";import type { ServerProviderShape } from "./Services/ServerProvider.ts"; export type ProviderSnapshotSource = {  /**   * Routing key — uniquely identifies this instance in the aggregated   * snapshot list. Two different snapshot sources may share the same   * driver kind (multiple instances of the same driver).   */  readonly instanceId: ProviderInstanceId;  /** Driver implementation kind. */  readonly driverKind: ProviderDriverKind;  readonly getSnapshot: ServerProviderShape["getSnapshot"];  readonly refresh: ServerProviderShape["refresh"];  readonly streamChanges: Stream.Stream<ServerProvider>;};

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t