MCPcopy
hub / github.com/triggerdotdev/trigger.dev / sendEventOptionsProperties

Function sendEventOptionsProperties

packages/trigger-sdk/src/io.ts:1622–1630  ·  view source on GitHub ↗
(options?: SendEventOptions)

Source from the content-addressed store, hash-verified

1620}
1621
1622function sendEventOptionsProperties(options?: SendEventOptions) {
1623 return [
1624 ...(options?.accountId ? [{ label: "Account ID", text: options.accountId }] : []),
1625 ...(options?.deliverAfter
1626 ? [{ label: "Deliver After", text: `${options.deliverAfter}s` }]
1627 : []),
1628 ...(options?.deliverAt ? [{ label: "Deliver At", text: options.deliverAt.toISOString() }] : []),
1629 ];
1630}

Callers 2

sendEventMethod · 0.85
sendEventsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…