MCPcopy Create free account
hub / github.com/vercel/vercel / isQueueBackedService

Function isQueueBackedService

packages/build-utils/src/types.ts:745–752  ·  view source on GitHub ↗
(service: {
  type?: ServiceType;
  trigger?: JobTrigger;
})

Source from the content-addressed store, hash-verified

743
744/** Returns true for any service that consumes queue messages (worker, queue-triggered job, workflow-triggered job). */
745export function isQueueBackedService(service: {
746 type?: ServiceType;
747 trigger?: JobTrigger;
748}): boolean {
749 return (
750 isQueueTriggeredService(service) || isWorkflowTriggeredService(service)
751 );
752}
753
754export type ReportedServiceType = 'web' | 'schedule' | 'queue' | 'workflow';
755

Callers 1

constructorMethod · 0.90

Calls 2

isQueueTriggeredServiceFunction · 0.85

Tested by

no test coverage detected