realtime method
General Library Documentation Undocument By General Corporation & Global Corporation & General Developer
Implementation
Stream<SystemInformationData> realtime({
Duration? durationDelay,
}) async* {
yield toJsonScheme();
await Future.delayed(durationDelay ?? Duration(seconds: 1));
while (true) {
await Future.delayed(durationDelay ?? Duration(seconds: 1));
yield toJsonScheme();
}
}