MCPcopy
hub / github.com/jamiepine/voicebox / then

Method then

app/src/lib/api/core/CancelablePromise.ts:91–96  ·  view source on GitHub ↗
(
    onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,
    onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null,
  )

Source from the content-addressed store, hash-verified

89 }
90
91 public then<TResult1 = T, TResult2 = never>(
92 onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,
93 onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null,
94 ): Promise<TResult1 | TResult2> {
95 return this.#promise.then(onFulfilled, onRejected);
96 }
97
98 public catch<TResult = never>(
99 onRejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null,

Callers 15

subscribeToServerLogsMethod · 0.80
NavbarFunction · 0.80
unlockAudioContextFunction · 0.80
LandingAudioPlayerFunction · 0.80
HomeFunction · 0.80
CapturePageFunction · 0.80
DownloadPageFunction · 0.80
SponsorsPageFunction · 0.80
MainAppFunction · 0.80
DictateWindowFunction · 0.80
AudioSampleRecordingFunction · 0.80
ProfileFormFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected