ResourceNotificationService.PublishResourceUpdate

Method
📦 Aspire.Hosting v17.0.0
type ResourceNotificationService interface {
// ... omitted for brevity
PublishResourceUpdate(
resource Resource,
options ...*PublishResourceUpdateOptions,
) error
}

Signature

methodPublishResourceUpdate
Publishes an update for a resource's state.
PublishResourceUpdate(
resource Resource,
options ...*PublishResourceUpdateOptions,
) error
resourceResource
options...*PublishResourceUpdateOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*PublishResourceUpdateOptions argument.

State*string
StateStyle*string
error

Returns error.

Defined on

This method is defined on the following type: