Show / Hide Table of Contents

    Delegate MessageHandler

    The delegate representing the Handle method of the IBehavior.

    Namespace: Silverback.Messaging.Publishing
    Assembly: Silverback.Core.dll
    Syntax
    public delegate Task<IReadOnlyCollection<object?>> MessageHandler(object message)
    Parameters
    Type Name Description
    object message

    The message being published.

    Returns
    Type Description
    Task<IReadOnlyCollection<object>>

    A Task<TResult> representing the asynchronous operation. The task result contains the actual messages to be published.

    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini