MCPcopy Create free account
hub / github.com/apitable/apitable / of

Function of

packages/api-client/rxjsStub.ts:17–19  ·  view source on GitHub ↗
(value: T)

Source from the content-addressed store, hash-verified

15}
16
17export function of<T>(value: T) {
18 return new Observable<T>(Promise.resolve(value));
19}
20
21export function mergeMap<T, S>(callback: (value: T) => Observable<S>) {
22 return (value: T) => callback(value).toPromise();

Calls

no outgoing calls

Tested by

no test coverage detected