MCPcopy Index your code
hub / github.com/slackapi/node-slack-sdk / sendTask

Method sendTask

packages/rtm-api/src/RTMClient.ts:488–494  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

486 };
487
488 const sendTask = (): Promise<RTMCallResult | void> => {
489 const sendPromise = this.send(type, body);
490 if (awaitReply) {
491 return sendPromise.then(awaitReplyTask);
492 }
493 return sendPromise.then(() => Promise.resolve());
494 };
495
496 return this.outgoingEventQueue.add(sendTask);
497 }

Callers

nothing calls this directly

Calls 1

sendMethod · 0.95

Tested by

no test coverage detected