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) 266 B
// @flow import type { Observable } from '../__wmelonRxShim' // Performs an action when Observable is subscribed to; analogous to `Observable.do` export default function doOnSubscribe<T>( onSubscribe: () => void, ): (observable: Observable<T>) => Observable<T>