Search Results for

Show / Hide Table of Contents

# Interface IEventListener<T>

Represents an event listener.

###### Namespace: Apache.Ignite.Core.Events

###### Assembly: Apache.Ignite.Core.dll

##### Syntax

    public interface IEventListener<in T>
        where T : IEvent

##### Type Parameters

Name | Description
--- | ---
T | Event type.

### Methods

#### Invoke(T)

Invoked when event occurs.

##### Declaration

    bool Invoke(T evt)

##### Parameters

Type | Name | Description
--- | --- | ---
T | evt | Event.

##### Returns

Type | Description
--- | ---
System.Boolean | Value indicating whether this listener should be kept subscribed. Returning false unsubscribes this listener from future notifications.