Module iopipe.traits
Base mechanisms used to determine information about iopipes.
Functions
Name | Description |
extend(t, elements)
|
add extend function to all arrays that allows any array to be the start of a pipe chain.
|
release(t, elements)
|
Add release function to all arrays. This will remove the given number of elements
from the front of the array
|
window(t)
|
add window property to all arrays that allows any array to be the start of a pipe.
|
Templates
Name | Description |
implementValve
|
Boilerplate for implementing a valve. If you don't define a custom valve,
you should always mixin this template in all your iopipe templates.
|
Manifest constants
Name | Type | Description |
hasValve
|
|
Evaluates to true if the given io pipe has a valve
|
isIopipe
|
|
evaluates to true if the given type is a valid ioPipe
|
valveCount
|
|
Determine the number of valves in the given pipeline
|
Aliases
Name | Type | Description |
WindowType
|
PropertyType!(T.init.window)
|
Determine the type of the window of the given pipe type. This works when the
window is a method or a field.
|