Module iopipe.traits

Base mechanisms used to determine information about iopipes.

Functions

NameDescription
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

NameDescription
hasValveEvaluates to true if the given io pipe has a valve
implementValveBoilerplate for implementing a valve. If you don't define a custom valve, you should always mixin this template in all your iopipe templates.
valveCountDetermine the number of valves in the given pipeline

Manifest constants

NameTypeDescription
isIopipeevaluates to true if the given type is a valid ioPipe

Aliases

NameTypeDescription
WindowTypePropertyType!(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.