Pudu programming language
Menu
Package

@chrismichaelps / pudu-lang-mediator

In-process messaging for Pudu: requests, notifications, streams, pipeline behaviors, processors, and exception handling

0.1.0Apache-2.01

InstallClose

API reference

The public declarations of @chrismichaelps/pudu-lang-mediator 0.1.0.

PuduLangMediator

PuduLangMediator.Behaviors.Logging

  • The event written when a message fails; its properties are the name, elapsed milliseconds, and failure.

  • The event written when a notification is heard; its property is the kind's name.

  • @Mediator.Behaviors.Logging.Recorder — writes one event per message start and end

  • The event written when a message starts; its properties are the kind's name and shape.

  • The event written when a stream ends; its properties are the name, item count, and elapsed milliseconds.

  • The event written when a message succeeds; its properties are the name and elapsed milliseconds.

  • A recorder writing to logger under the source PuduLangMediator.

PuduLangMediator.Behaviors.Resilient

PuduLangMediator.Behaviors.Validation

PuduLangMediator.Catalog

PuduLangMediator.Compose

PuduLangMediator.Constants.Messages

  • Several failures of one publication; <1> is their count and <2> their descriptions.

  • A cancellation; <1> is its reason.

  • A handler that stopped its thread; <1> is what it said.

  • A request or stream kind with more than one handler; <1> is its name and <2> the count.

  • A kind registered without a name.

  • A message that failed validation; <1> is its violations.

  • A mediator refused at build time; <1> is its problems.

  • A message routed to another kind of the same name; <1> is the name.

  • Two kinds sharing one name; <1> is the name.

  • A failure raised by a handler; <1> is the error.

  • A stream reader closed before its stream ended.

  • A message an open component refused; <1> is the reason.

  • What separates problems and descriptions listed in one sentence.

  • An outcome holding a value; <1> is the value.

  • A message without a handler; <1> is its kind's name.

  • One validation violation; <1> is the property and <2> the message.

  • A request or stream kind with components but no handler; <1> is its name.

PuduLangMediator.Context

PuduLangMediator.Domain.Census

PuduLangMediator.Domain.Order

PuduLangMediator.Mediator

PuduLangMediator.Message

PuduLangMediator.Notification

PuduLangMediator.Open

  • Behaviortrait

    @Mediator.Open.Behavior — wraps the pipeline of every request

  • @Mediator.Open.ExceptionAction — observes the failure of every request

  • @Mediator.Open.Listener — an open notification handler and the name it is reported by

  • @Mediator.Open.NotificationHandler — receives every notification

  • @Mediator.Open.PostProcessor — runs after the handler of every request

  • PreProcessortrait

    @Mediator.Open.PreProcessor — runs before the handler of every request

  • @Mediator.Open.StreamBehavior — wraps the pipeline of every stream

PuduLangMediator.Publisher

  • Publishertrait

    @Mediator.Publisher.Publisher — publishes notifications; a mediator or a test double

PuduLangMediator.Publishing

  • Boundedtype

    @Mediator.Publishing.Bounded — every handler, at most workers at a time

  • @Mediator.Publishing.Continuing — one handler at a time, every handler, every failure

  • @Mediator.Publishing.Executor — one handler, ready to run with a context

  • @Mediator.Publishing.Parallel — every handler on its own thread at once

  • @Mediator.Publishing.Sequential — one handler at a time, stopping at the first failure

  • Strategytrait

    @Mediator.Publishing.Strategy — runs the executors of one publication

PuduLangMediator.Reader

PuduLangMediator.Registration

PuduLangMediator.Request

PuduLangMediator.Sender

  • Sendertrait

    @Mediator.Sender.Sender — sends requests and streams; a mediator or a test double

PuduLangMediator.Stream

PuduLangMediator.Utils.Erasure

PuduLangMediator.Utils.Shared

PuduLangMediator.Utils.Template

  • The template with each <n> replaced by the nth value, counting from 1, in one pass: text

    taken from a value is never filled again. A slot without a value is kept as written.

PuduLangMediator.Utils.Threads