다음을 통해 공유


IBroadcastChannelSubscription.Attach<T> 메서드

정의

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

형식 매개 변수

T

매개 변수

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

반환

적용 대상