Pipeline class

A pipeline passes an IRequest through all of its middlewares before being send to the IRequestHandler

Constructors

Pipeline()

Properties

hashCode int
The hash code for this object.
no setterinherited
middlewares List<IPipelineBehavior<IRequest, dynamic>>
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addMiddleware(IPipelineBehavior<IRequest, dynamic> behavior) → void
Adds a middleware to the Pipeline
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
passThrough(IRequest request, IRequestHandler<IRequest, dynamic> requestHandler) Future
The function that gets called from Mediator in order to pass the IRequest thought the middlewares
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited