Middleware: if the request has some parameter to wait, then the middleware won't be resolved until this parameter isn't resolved.
This middleware can be used as encoder: the value to wait will be taken from input data (.wait
),
otherwise, it will be taken from .meta.wait
.
core/data/middlewares/wait
This module provides a middleware to suspend a request until will be resolved the specified value to wait. The middleware can be used as encoder: the value to wait will be taken from input data (
.wait
), otherwise, it will be taken from.meta.wait
.