organic-globdir
v0.0.4
Published
Organelle for emitting every file found within dir recursively.
Readme
organic-globdir
Organelle for emitting every file found within dir recursively.
dna
{
"root": "path/relative/to/cwd",
"pattern": "/**/*.ext",
"forEachEmit": {
"value": ""
},
"emitReady": "",
"reactOn": "",
"eachLimit": 1,
"waitReadyForEach": false
}forEachEmitis Chemical body been send into Plasma with added properties:data-glob-stream's File structureroot-dna.rootvalueemitReady-"organic-globdir/"+file.pathvalue to be used for notification once emited chemical's reaction has been completed.
emitReadyis Chemical type value, when provided will be used to emit into Plasma chemical havingerr- null or Error value
when
reactOnis not provided the organelle is triggered with its dna upon building.setting
waitReadyForEachto true will useeachLimit's value to emitforEachEmitchemicals in prallel batches and wait for their Ready feedback to continue with next batch
reacts to dna.reactOn value
Triggers globdir organelle using provided chemical as dna.
