pipeline v0.1.0 Pipeline.Plug.Import
This module lets you take advantage of Plug’s static compilation mechanism
from within Pipeline. When you have a module that invokes plug Pipeline
this pre-compilation hook generates a private function within that module
representing the invocation of that pipeline and then replaces the plug call
with the generated private function.
Unfortunately there is currently no automatic mechanism for doing this, so
you’re stuck with having to use
this module to gain its beneficial effects.
IMPORTANT: You must use
this module before you use
anything from
Plug, since it modifies the internal list of plugs.