Skip to content

@sourceloop/task-service / Exports / IIncomingConnector

Interface: IIncomingConnector<T>

Type parameters

Name Type
T IEvent

Table of contents

Methods

Methods

subscribe

subscribe(handler): Promise<void>

Parameters

Name Type
handler IEventStreamHandler<T>

Returns

Promise<void>

Defined in

services/task-service/src/interfaces/i-incoming-connector.ts:4


unsubscribe

unsubscribe(): Promise<void>

Returns

Promise<void>

Defined in

services/task-service/src/interfaces/i-incoming-connector.ts:5