Changelog
1.0.0 (November 3rd 2017)
noflo.AsyncComponent
class -- use WirePattern or Process API insteadnoflo.ArrayPort
class -- use InPort/OutPort with addressable: true
insteadnoflo.Port
class -- use InPort/OutPort insteadnoflo.helpers.MapComponent
function -- use WirePattern or Process API insteadnoflo.helpers.WirePattern
legacy mode -- now WirePattern always uses Process API internallynoflo.helpers.WirePattern
synchronous mode -- use async: true
and callbacknoflo.helpers.MultiError
function -- send errors via callback or error portnoflo.InPort
process callback -- use Process APInoflo.InPort
handle callback -- use Process APInoflo.InPort
receive method -- use Process API getX methodsnoflo.InPort
contains method -- use Process API hasX methodsEXPORTS
mechanism -- disambiguate with INPORT/OUTPORTscoped: false
on an outport will force all packets sent to that port to be unscopedChangelog
0.8.6 (October 21st 2017)
Changelog
0.8.5 (September 17th 2017)
scoped: false
parameter. This is useful for components that mix unscoped and scoped inputsschema
key. Ports with a schema annotate their IP objects automatically with the schema unless the IP object already has a specific schematype
key of ports is now converted to the schema
key. The schema of a port is available via the getSchema()
methodChangelog
0.8.4 (July 21st 2017)
Changelog
0.8.3 (March 8th 2017)
Changelog
0.8.2 (March 5th 2017)
Changelog
0.8.1 (March 2nd 2017)
Changelog
0.8.0 (March 1st 2017)
Changelog
0.8.0-beta3 (February 21st 2017)
noflo.helpers.MapComponent
to use Process API internally. This helper is deprecated and components using it should be ported to Process APInoflo.helpers.WirePattern
to use Process API internally. To use the original WirePattern implementation, either pass a legacy: true
to WirePattern function or set NOFLO_WIREPATTERN_LEGACY
environment variablereceiveStreams
and sendStream
optionspostpone
and resume
. These are still available in legacy mode but will be removed soongroup
collationfield
collationasync: false
optioncomponent.error
method with WirePattern. Use async and error callback insteadcomponent.fail
method with WirePattern. Use async and error callback insteadcomponent.sendDefaults
method with WirePattern. Start your components with a NoFlo network to get defaults sentnoflo.helpers.MultiError
. Use error callback insteadChangelog
0.8.0-beta2 (February 8th 2017)
setUp
and tearDown
methods for easier handling of custom states in components. These methods take an asynchronous callback and are recommended to be used instead of start
and shutdown
start
and shutdown
methodsclear
method for inports to clear their packet buffer. Used by component shutdown
methodindex
attribute of the IP object[portname, index]
. For example: input.getData ['in', 2]