InteractionService.PromptNotification

Method
📦 Aspire.Hosting v17.0.0
type InteractionService interface {
// ... omitted for brevity
PromptNotification(
title string,
message string,
options ...*PromptNotificationOptions,
) (*BoolInteractionResult, error)
}

Signature

methodPromptNotification
Prompts the user with a notification.
PromptNotification(
title string,
message string,
options ...*PromptNotificationOptions,
) (*BoolInteractionResult, error)
titlestring
messagestring
options...*PromptNotificationOptionsOptional settings, described under Options.

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

Options*InteractionNotificationOptions
CancellationToken*CancellationToken
(*BoolInteractionResult, error)

Returns (*BoolInteractionResult, error).

Defined on

This method is defined on the following type: