Search Results for

    Show / Hide Table of Contents
    View Source

    Interface INotificationAsyncHandler<TNotification>

    Defines a handler for a async notification.

    Namespace: Umbraco.Cms.Core.Events
    Assembly: Umbraco.Core.dll
    Syntax
    public interface INotificationAsyncHandler<in TNotification>
        where TNotification : INotification
    Type Parameters
    Name Description
    TNotification

    The type of notification being handled.

    Methods

    View Source

    HandleAsync(TNotification, CancellationToken)

    Handles a notification

    Declaration
    Task HandleAsync(TNotification notification, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    TNotification notification

    The notification

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    Task

    A representing the asynchronous operation.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • HandleAsync(TNotification, CancellationToken)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX