This .split-s a signal of Try-s by their isSuccess property. If you want a different key, use the .splitOne operator directly.
This .split-s a signal of Try-s by their isSuccess property. If you want a different key, use the .splitOne operator directly.
Value parameters
failure
(initialFailure, signalOfFailureValues) => output failure is called whenever the parent stream switches from Success() to Failure(). signalOfFailureValues starts with initialFailure value, and updates when the parent signal updates from Failure(a) to Failure(b).
success
(initialSuccess, signalOfSuccessValues) => output success is called whenever the parent signal switches from Failure() to Success(). signalOfSuccessValues starts with initialSuccess value, and updates when the parent signal updates from Success(a) to Success(b).