Update daprdocs/content/en/developing-applications/building-blocks/pubsub/subscription-methods.md

Co-authored-by: Mark Fussell <markfussell@gmail.com>
Signed-off-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com>
This commit is contained in:
Hannah Hunter 2023-07-10 16:14:20 -04:00 committed by GitHub
parent 844816712e
commit b149edb9f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ The `/checkout` endpoint matches the `route` defined in the subscriptions and th
The dynamic programmatic approach returns the `routes` JSON structure within the code, unlike the declarative approach's `route` YAML structure. The dynamic programmatic approach returns the `routes` JSON structure within the code, unlike the declarative approach's `route` YAML structure.
> **Note:** Dynamic subscriptions are only read once during application start-up. > **Note:** Programmatic subscriptions are only read once during application start-up. You cannot _dynamically_ add new programmatic subscriptions, only at new ones at compile time.
In the example below, you define the values found in the [declarative YAML subscription](#declarative-subscriptions) above within the application code. In the example below, you define the values found in the [declarative YAML subscription](#declarative-subscriptions) above within the application code.