Edit

Share via


IBroadcastChannelSubscription.Attach<T> Method

Definition

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

Type Parameters

T

Parameters

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

Returns

Applies to