Documentation
API Reference
Interfaces
Observer

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:4


error

error: (error: Error) => void

Type declaration

▸ (error): void

Parameters
NameType
errorError
Returns

void

Defined in

packages/utils/src/observableToAsyncIterable.ts:3


next

next: (value: T) => void

Type declaration

▸ (value): void

Parameters
NameType
valueT
Returns

void

Defined in

packages/utils/src/observableToAsyncIterable.ts:2