MCPcopy Create free account
hub / github.com/OneSignal/onesignal-node-api / from

Function from

rxjsStub.ts:13–15  ·  view source on GitHub ↗
(promise: Promise<any>)

Source from the content-addressed store, hash-verified

11}
12
13export function from<T>(promise: Promise<any>) {
14 return new Observable(promise);
15}
16
17export function of<T>(value: T) {
18 return new Observable<T>(Promise.resolve(value));

Callers 15

preMethod · 0.90
postMethod · 0.90
cancelNotificationMethod · 0.90
copyTemplateToAppMethod · 0.90
createAliasMethod · 0.90
createApiKeyMethod · 0.90
createAppMethod · 0.90
createCustomEventsMethod · 0.90
createNotificationMethod · 0.90
createSegmentMethod · 0.90
createSubscriptionMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected