const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.js'); const require_runtime_manifest = require('../../runtime/manifest.js'); const require_common_encoding = require('../../common/encoding.js'); const require_common_onInit = require('../../common/onInit.js'); const require_v2_trace = require('../trace.js'); const require_v2_options = require('../options.js'); const require_v2_compat = require('../compat.js'); //#region src/v2/providers/pubsub.ts var pubsub_exports = /* @__PURE__ */ require_rolldown_runtime.__export({ Message: () => Message, onMessagePublished: () => onMessagePublished }); /** * Google Cloud Pub/Sub is a globally distributed message bus that automatically scales as you need it. * You can create a function ({@link onMessagePublished}) that handles pub/sub events by using functions.pubsub. * * This function triggers whenever a new pub/sub message is sent to a specific topic. * You must specify the Pub/Sub topic name that you want to trigger your function, and set the event within the * onPublish() event handler. * * PubSub Topic: *