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

Function isQueueTriggeredService

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

Source from the content-addressed store, hash-verified

715}
716
717export function isQueueTriggeredService(service: {
718 type?: ServiceType;
719 trigger?: JobTrigger;
720}): boolean {
721 return (
722 service.type === 'worker' ||
723 (service.type === 'job' && service.trigger === 'queue')
724 );
725}
726
727export function isScheduleTriggeredService(service: {
728 type?: ServiceType;

Callers 5

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

Calls

no outgoing calls

Tested by

no test coverage detected