EventStreamSettings interface

Configuration for creating an event stream

Signature:

export interface EventStreamSettings

Properties

Property Type Description

onEvent

(event: EventStreamEvent) ⇒ void

Callback for handling events from the event stream

pendingWindow

number

The number of seconds in the future to consider jobs as pending. Jobs that are further in the future will not surface in the event stream, and instead be only reachable through the search API.