Condition<T> typedef

Condition<T> = void Function(Subject<T>)

A callback that synchronously checks expectations against a subject.

Asynchronous expectations should not be used within a Condition callback.

Implementation

typedef Condition<T> = void Function(Subject<T>);