LogicWaiter extension

An extension on Logic for waiting for things.

on

Methods

waitCycles(int numCycles, {Edge edge = Edge.pos}) Future<void>
Returns a Future which completes after the specified numCycles, where each cycle is defined as the next occurence of the specified edge.