Closed afzl-wtu closed 10 months ago
when Setting:
final ping= Ping('google.com', count:10, interval:10);
Then listening this stream on StreamBuilder trigers builder function about 100 times a second instead of trigering it once (or twice) in 10 seconds.
StreamBuilder( stream:ping.stream, builder: (_, snap)=>print('builder ran successfully'), )
This makes storing ping results in a list impossible.
Sorry Can not reproduce the error.
when Setting:
Then listening this stream on StreamBuilder trigers builder function about 100 times a second instead of trigering it once (or twice) in 10 seconds.
This makes storing ping results in a list impossible.