• Ensures that the subject contains the required permissions to execute the message handler

    Type Parameters

    • TContent = unknown

    Parameters

    • permissions: string[]

      the list of permissions that allow to use that message handler

    • serviceId: string

      the service ID of this service

    Returns OnMessageMiddleware<TContent>

Generated using TypeDoc