minor tweak...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-11-25 20:54:55 +03:00
parent 8965fdacd2
commit b51d9bced9
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "ig-types",
"version": "5.0.11",
"version": "5.0.12",
"description": "Generic JavaScript types and type extensions...",
"main": "main.js",
"scripts": {

View File

@ -378,6 +378,9 @@ module.TaskManager =
object.Constructor('TaskManager', Array, events.EventMixin('flat', {
sync_start: false,
__task_ticket__: TaskTicket,
//
// .titled(title)
// .titled(title, ..)
@ -494,7 +497,7 @@ object.Constructor('TaskManager', Array, events.EventMixin('flat', {
run = function(){
var res =
task(
TaskTicket(title, resolve, reject, onmessage),
that.__task_ticket__(title, resolve, reject, onmessage),
...args)
// NOTE: if the client calls resolve(..) this
// second resolve(..) call has no effect,