MCPcopy Create free account
hub / github.com/beutton/browser-flight-simulator / queueTask

Function queueTask

packages/worker/src/pool.ts:28–35  ·  view source on GitHub ↗
(
  method: T,
  params?: MethodParams<T>,
  options?: ExecOptions
)

Source from the content-addressed store, hash-verified

26> = R extends TransferResult<infer U> ? U : R
27
28export async function queueTask<T extends Method>(
29 method: T,
30 params?: MethodParams<T>,
31 options?: ExecOptions
32): Promise<MethodReturnType<T>> {
33 // eslint-disable-next-line @typescript-eslint/return-await
34 return await createPool().exec(method, params, options)
35}

Callers 3

parseToMeshMethod · 0.85
toCreasedNormalsAsyncFunction · 0.85
createGeometryMethod · 0.85

Calls 1

createPoolFunction · 0.85

Tested by

no test coverage detected