graphql-tools-monorepo / utils/src / Observer

Interface: Observer<T>

utils/src.Observer

Type parameters

Name
T

Table of contents

Properties

Properties

complete

complete: () => void

Type declaration

▸ (): void

Returns

void

Defined in

packages/utils/src/observableToAsyncIterable.ts:6


error

error: (error: Error) => void

Type declaration

▸ (error): void

Parameters
NameType
errorError
Returns

void

Defined in

packages/utils/src/observableToAsyncIterable.ts:5


next

next: (value: T) => void

Type declaration

▸ (value): void

Parameters
NameType
valueT
Returns

void

Defined in

packages/utils/src/observableToAsyncIterable.ts:4