The compose
function wraps the Handler
with one or more Wrapper
. The first
argument of Wrapper
is the function Wrapped
(a copy of Handler
).
Subsequent arguments of Wrapper
are the same as those of Handler
. Each
Wrapper
is called in chain with Wrapped
. The same arguments must be passed
to Wrapped
as to Handler
.
-
Notifications
You must be signed in to change notification settings - Fork 0
It's easy to wrap handlers with wrappers.
License
machnevegor/wrap
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
It's easy to wrap handlers with wrappers.