Skip to content

IOTickedOps<A>

extension IOTickedOps<A> on IO<A>

Extension on IO to create a Ticker for deterministic testing.

Properties

ticked extension no setter

Ticker<A> get ticked

Creates a Ticker for this IO, starting it on a TestIORuntime.

Available on IO<A>, provided by the IOTickedOps<A> extension

Implementation
dart
Ticker<A> get ticked => Ticker.ticked(this);