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

Function isWorkflowTriggeredService

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

Source from the content-addressed store, hash-verified

735}
736
737export function isWorkflowTriggeredService(service: {
738 type?: ServiceType;
739 trigger?: JobTrigger;
740}): boolean {
741 return service.type === 'job' && service.trigger === 'workflow';
742}
743
744/** Returns true for any service that consumes queue messages (worker, queue-triggered job, workflow-triggered job). */
745export function isQueueBackedService(service: {

Callers 4

detectPythonEntrypointFunction · 0.90
getServiceRoutePrefixesFunction · 0.90
getServiceTargetFunction · 0.90
isQueueBackedServiceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected