pub.dev : stream_trigger
The Stream Trigger object does exactly what the name implies. Stream Trigger can be used to either 'trigger' transformations to particular data on data streams, or trigger logic to happen elsewhere, or both. It works by spotting the supplied trigger data on a data stream, that once spotted, will trigger the corresponding 'handler' function supplied with it to be invoked. The handler function then has the option of replacing the trigger data found on the data stream, or leaving it be. To replace the trigger data on the stream, the trigger's given handler can either return data of the same type as the stream, or can return a stream itself of equal typing. Stream Triggers can inject/merge one data stream into another at these specific trigger points if so desired. Again, the replacement of the trigger data does not have to occur. So if this is not desired, returning a null object from the handler will indicate the data should not change. But please note, the handler must have a return.
Registry
- Homepage
- Documentation
- JSON
- codemeta.json
purl: pkg:pub/stream_trigger
License:
Latest release: about 11 years ago
First release: about 11 years ago
Dependent packages: 2
Dependent repositories: 2
Last synced: about 10 hours ago
template 0.0.2
Template is a templaing engine that performs text replacement on binary data streams from given f...2 versions - Latest release: over 10 years ago - 1 dependent repositories
inject_module 1.0.2
Inject is a form of pre-processor that replaces/'injects' data from a file in accordance to data ...3 versions - Latest release: almost 11 years ago - 1 dependent package - 1 dependent repositories
Check this option to include packages that no longer depend on this package in their latest version but previously did.