W3cubDocs

/Dart 2

resume method

void resume ()

Resume after a pause.

This undoes one previous call to pause. When all previously calls to pause have been matched by a calls to resume, possibly through a resumeSignal passed to pause, the stream subscription may emit events again.

It is safe to resume even when the subscription is not paused, and the resume will have no effect.

Implementation

void resume();

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-async/StreamSubscription/resume.html