subscribeAsync

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.

changeType

change type to subscribe to.

subscriber

subscriber to notify.


abstract suspend fun subscribeAsync(id: String, subscriber: SudoSubscriber)

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.