UNPKG

@nozbe/watermelondb

Version:

Build powerful React Native and React web apps that scale from hundreds to tens of thousands of records and remain fast

10 lines (6 loc) 252 B
// @flow import { Observable } from '../__wmelonRxShim' // Performs an action when Observable is disposed; analogous to `Observable.do` export default function doOnDispose<T>( onDispose: () => void, ): (observable: Observable<T>) => Observable<T>