Table of Contents

Method Publish

Namespace
Mediarion
Assembly
Mediarion.dll

Publish(IReadOnlyList<NotificationHandlerExecutor>, object, CancellationToken)

Runs the handlers.

Task Publish(IReadOnlyList<NotificationHandlerExecutor> handlers, object notification, CancellationToken cancellationToken)

Parameters

handlers IReadOnlyList<NotificationHandlerExecutor>

The handlers to run.

notification object

The notification.

cancellationToken CancellationToken

Cancels the operation.

Returns

Task

A task that completes when the handlers are done.