Interface: PredicateExecutionContext
Defined in: packages/fast-check/src/check/property/types/PredicateExecutionContext.ts:21
Context passed to the predicate at execution time. May give more details about the context in which it runs.
When editing it from plugins, never change it directly but prefer creating a modified copy of it for downstream consumers.
Use module augmentation to declare optional fields supplied by plugins.
Example
import 'fast-check';
interface MyPluginContext { requestId?: string | undefined; }
declare module 'fast-check' {
export interface PredicateExecutionContext extends MyPluginContext {}
}
Remarks
Since 5.0.0
Properties
signal?
optionalsignal?:AbortSignal
Defined in: packages/fast-check/src/check/property/types/PredicateExecutionContext.ts:26
Signal supplied by plugins to request a cancellation
Remarks
Since 5.0.0