Skip to main content
Version: Next

AbortQueryOptions

Per-query cancellation controls forwarded to the underlying driver.

Hierarchy

Index

Properties

optionalinflightQueryAbortStrategy

inflightQueryAbortStrategy?: InflightQueryAbortStrategy

Strategy used when the signal fires while the query is in flight. See InflightQueryAbortStrategy for caveats around streams and MongoDB.

optionalsignal

signal?: AbortSignal

AbortSignal that cancels the query when fired.

Page Options