[]
        
(Showing Draft Content)

ReportViewer.EventFan

Class: EventFan<TArgs>

ReportViewer.EventFan

Event

Type parameters

Name Description
TArgs event argument type

Table of contents

方法

Methods

register

register(callback): UnregisterHandler

Registers a new event handler. The handler is invoked when the cancellation is requested.

Parameters

Name Type
callback (args: TArgs) => any

Returns

UnregisterHandler


createFor

Static createFor<TArgs>(): Object

Creates a cancellation token and the trigger function.

Type parameters

Name
TArgs

Returns

Object

Name Type
event EventFan<TArgs>
trigger (e: TArgs) => void