subscribe Async
abstract suspend fun subscribeAsync(id: String, changeType: SudoSubscriber.ChangeType, subscriber: SudoSubscriber)
Subscribes to be notified of new, updated or deleted Sudos. Blob data is not downloaded automatically so the caller is expected to use listSudos
API if they need to access any associated blobs.
Parameters
id
unique ID for the subscriber.
change Type
change type to subscribe to.
subscriber
subscriber to notify.
Subscribes to be notified of new, updated and deleted Sudos. Blob data is not downloaded automatically so the caller is expected to use listSudos
API if they need to access any associated blobs.
Parameters
id
unique ID for the subscriber.
subscriber
subscriber to notify.