Interface Runtime<ContextType>

interface Runtime<ContextType> {
    context?: ContextType;
    signal?: AbortSignal;
    store?: BaseStore;
    writer?: ((chunk) => void);
}

Type Parameters

  • ContextType extends Record<string, unknown> = Record<string, unknown>

Properties

context?: ContextType
signal?: AbortSignal
store?: BaseStore
writer?: ((chunk) => void)

Type declaration

    • (chunk): void
    • Parameters

      • chunk: unknown

      Returns void