MCPcopy Create free account
hub / github.com/async-library/react-async / getMeta

Method getMeta

packages/react-async/src/Async.tsx:185–192  ·  view source on GitHub ↗
(meta?: M)

Source from the content-addressed store, hash-verified

183 }
184
185 getMeta<M>(meta?: M) {
186 return {
187 counter: this.counter,
188 promise: this.promise,
189 debugLabel: this.debugLabel,
190 ...meta,
191 }
192 }
193
194 start(promiseFn: () => Promise<T>) {
195 if ("AbortController" in globalScope) {

Callers 4

startMethod · 0.95
cancelMethod · 0.95
setDataMethod · 0.95
setErrorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected