Compartilhar via


IBroadcastChannelSubscription.Attach<T> Método

Definição

public System.Threading.Tasks.Task Attach<T> (Func<T,System.Threading.Tasks.Task> onPublished, Func<Exception,System.Threading.Tasks.Task> onError = default);
abstract member Attach : Func<'T, System.Threading.Tasks.Task> * Func<Exception, System.Threading.Tasks.Task> -> System.Threading.Tasks.Task
Public Function Attach(Of T) (onPublished As Func(Of T, Task), Optional onError As Func(Of Exception, Task) = Nothing) As Task

Parâmetros de tipo

T

Parâmetros

onPublished
Func<T,Task>
onError
Func<Exception,Task>

Retornos

Aplica-se a