Remove Tappable and Emitter

This commit is contained in:
Aria Minaei 2022-12-01 15:16:37 +01:00
parent 391958f5cf
commit 867cf51acb
4 changed files with 1 additions and 188 deletions

View file

@ -254,7 +254,7 @@ class PrismInstance<V> implements Prism<V> {
}
/**
* Returns a tappable that fires every time the prism's state goes from `fresh-\>stale.`
* Calls `callback` every time the prism's state goes from `fresh-\>stale.` Returns an `unsubscribe()` function.
*/
onStale(callback: () => void): VoidFn {
const untap = () => {