-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(platform/messaging): support sending retained intents
Similar to a retained message, a retained intent helps newly subscribed clients receive the last intent published for a capability. The platform supports the sending of retained intents and requests. closes #142 BREAKING CHANGE: The `IntentClient` now uses the same `options` object as the `MessageClient` to control how to send a message or request. The content of the `options` object has not changed, only its name, i.e., migration is only required if assigning it to a typed variable or decorating the `IntentClient`. Note that the communication protocol between host and client has NOT changed, i.e., host and clients can be migrated independently. To migrate: - options for sending an intent was changed from `IntentOptions` to `PublishOptions` (`IntentClient#publish`) - options for requesting data was changed from `IntentOptions` to `RequestOptions` (`IntentClient#request`)
- Loading branch information
1 parent
4bdbc82
commit 08afb72
Showing
26 changed files
with
2,570 additions
and
265 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.