timePassed function

StreamCondition timePassed(
  1. Duration duration
)

Implementation

StreamCondition timePassed(Duration duration) =>
    MapEntry((_) => null, (_) => Future.delayed(duration));