Skip to main content

Interface IEventEndpoint

Namespace: Consul
Assembly: Consul.dll

The interface for the Event API Endpoints

public interface IEventEndpoint

Methods

Fire(UserEvent, CancellationToken)

Task<WriteResult<string>> Fire(UserEvent ue, CancellationToken ct = default)

Parameters

ue UserEvent

ct CancellationToken

Returns

Task <WriteResult <string >>

Fire(UserEvent, WriteOptions, CancellationToken)

Task<WriteResult<string>> Fire(UserEvent ue, WriteOptions q, CancellationToken ct = default)

Parameters

ue UserEvent

q WriteOptions

ct CancellationToken

Returns

Task <WriteResult <string >>

IDToIndex(string)

ulong IDToIndex(string uuid)

Parameters

uuid string

Returns

ulong

List(CancellationToken)

Task<QueryResult<UserEvent[]>> List(CancellationToken ct = default)

Parameters

ct CancellationToken

Returns

Task <QueryResult <UserEvent []>>

List(string, CancellationToken)

Task<QueryResult<UserEvent[]>> List(string name, CancellationToken ct = default)

Parameters

name string

ct CancellationToken

Returns

Task <QueryResult <UserEvent []>>

List(string, QueryOptions, CancellationToken)

Task<QueryResult<UserEvent[]>> List(string name, QueryOptions q, CancellationToken ct = default)

Parameters

name string

q QueryOptions

ct CancellationToken

Returns

Task <QueryResult <UserEvent []>>

  • Methods
    • Fire(UserEvent, CancellationToken)
    • Fire(UserEvent, WriteOptions, CancellationToken)
    • IDToIndex(string)
    • List(CancellationToken)
    • List(string, CancellationToken)
    • List(string, QueryOptions, CancellationToken)