You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps there should be some new API to enable muting and unmuting streams.
We can add these methods as properties of the function that gets returned from solve.
varrandomNumberStream=solve(function(callback){setInterval(function(){callback(Math.random());},500);});varlogRandomNumbers=randomNumberStream(function(number){console.log(number);});// stop logginglogRandomNumbers.mute();// continue logginglogRandomNumbers.unmute();// stop any listeners on any random number streamrandomNumberStream.mute();
The text was updated successfully, but these errors were encountered:
Perhaps there should be some new API to enable muting and unmuting streams.
We can add these methods as properties of the function that gets returned from solve.
The text was updated successfully, but these errors were encountered: