Open EGreg opened 9 years ago
It should look something like this
Streams.create({ type: 'Streams/task' }, function () { this.onUpdated('progress').set(function ({ }, tool); });
No need to implement extension classes without tables. Instead of $stream->Streams_Task->progress(0.5) We will just have this:
$stream->Streams_Task->progress(0.5)
Streams_Task::progress($stream, 0.5); $stream->setAttribute('progress', '0.5'); $stream->changed();
Maybe also post Streams/progress and Streams/completed messages, so others can subscribe to them? Or they can just subscribe to "Streams/changed" with a custom handler?
Streams
It should look something like this
No need to implement extension classes without tables. Instead of
$stream->Streams_Task->progress(0.5)
We will just have this:Maybe also post Streams/progress and Streams/completed messages, so others can subscribe to them? Or they can just subscribe to "Streams/changed" with a custom handler?
Streams