OptionalafterAn optional function that is run after all iterations of this task end
OptionalafterAn optional function that is run after each iteration of this task
OptionalasyncWhether the provided task function is asynchronous, otherwise it is determined automatically.
OptionalbeforeAn optional function that is run before iterations of this task begin
OptionalbeforeAn optional function that is run before each iteration of this task
OptionalretainRetain samples for this task, overriding the bench-level retainSamples option
OptionalsignalAn AbortSignal for aborting this specific task
If not provided, falls back to BenchOptions.signal
The task function options