cujojs / most

Ultra-high performance reactive programming
MIT License
3.5k stars 231 forks source link

Throw error if handler is not present #477

Closed TrySound closed 6 years ago

TrySound commented 6 years ago

Summary

This example swallows errors

const stream = most.throwError(1);
stream.subscribe({
  next: v => console.log(v)
});
TrySound commented 6 years ago

Done