Remove Tappable
and Emitter
This commit is contained in:
parent
391958f5cf
commit
867cf51acb
4 changed files with 1 additions and 188 deletions
|
@ -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 = () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue