Task
Queue
Class
constructor
name
add
execute
execute
Async
execute
Background
execute
Background
Finish
execute
Finish
process
spawn
NODE-GTK API Reference
Bump-0.1
Bump
TaskQueueClass
Class TaskQueueClass
Hierarchy
TaskQueueClass
Index
Constructors
constructor
Properties
name
Methods
add
execute
execute
Async
execute
Background
execute
Background
Finish
execute
Finish
process
spawn
Constructors
constructor
new
Task
Queue
Class
(
)
:
TaskQueueClass
Returns
TaskQueueClass
Properties
Static
name
name
:
string
Methods
add
add
(
task
:
SourceFunc
, priority
:
number
, cancellable
?:
Gio
.
Cancellable
)
:
void
Parameters
task:
SourceFunc
priority:
number
Optional
cancellable:
Gio
.
Cancellable
Returns
void
execute
execute
(
gType
:
GType
<
unknown
>
, gDupFunc
:
BoxedCopyFunc
, gDestroyFunc
:
GLib
.
DestroyNotify
, func
:
Bump
.
Callback
, priority
:
number
, cancellable
?:
Gio
.
Cancellable
)
:
object
Parameters
gType:
GType
<
unknown
>
gDupFunc:
BoxedCopyFunc
gDestroyFunc:
GLib
.
DestroyNotify
func:
Bump
.
Callback
priority:
number
Optional
cancellable:
Gio
.
Cancellable
Returns
object
execute
Async
execute
Async
(
gType
:
GType
<
unknown
>
, gDupFunc
:
BoxedCopyFunc
, gDestroyFunc
:
GLib
.
DestroyNotify
, func
:
Bump
.
Callback
, priority
:
number
, cancellable
?:
Gio
.
Cancellable
, callback
?:
AsyncReadyCallback
)
:
void
Parameters
gType:
GType
<
unknown
>
gDupFunc:
BoxedCopyFunc
gDestroyFunc:
GLib
.
DestroyNotify
func:
Bump
.
Callback
priority:
number
Optional
cancellable:
Gio
.
Cancellable
Optional
callback:
AsyncReadyCallback
Returns
void
execute
Background
execute
Background
(
gType
:
GType
<
unknown
>
, gDupFunc
:
BoxedCopyFunc
, gDestroyFunc
:
GLib
.
DestroyNotify
, func
:
Bump
.
Callback
, priority
:
number
, cancellable
?:
Gio
.
Cancellable
, callback
?:
AsyncReadyCallback
)
:
void
Parameters
gType:
GType
<
unknown
>
gDupFunc:
BoxedCopyFunc
gDestroyFunc:
GLib
.
DestroyNotify
func:
Bump
.
Callback
priority:
number
Optional
cancellable:
Gio
.
Cancellable
Optional
callback:
AsyncReadyCallback
Returns
void
execute
Background
Finish
execute
Background
Finish
(
gType
:
GType
<
unknown
>
, gDupFunc
:
BoxedCopyFunc
, gDestroyFunc
:
GLib
.
DestroyNotify
, res
:
AsyncResult
)
:
object
Parameters
gType:
GType
<
unknown
>
gDupFunc:
BoxedCopyFunc
gDestroyFunc:
GLib
.
DestroyNotify
res:
AsyncResult
Returns
object
execute
Finish
execute
Finish
(
gType
:
GType
<
unknown
>
, gDupFunc
:
BoxedCopyFunc
, gDestroyFunc
:
GLib
.
DestroyNotify
, res
:
AsyncResult
)
:
object
Parameters
gType:
GType
<
unknown
>
gDupFunc:
BoxedCopyFunc
gDestroyFunc:
GLib
.
DestroyNotify
res:
AsyncResult
Returns
object
process
process
(
wait
:
number
)
:
boolean
Parameters
wait:
number
Returns
boolean
spawn
spawn
(
max
:
number
)
:
number
Parameters
max:
number
Returns
number
Task
Queue
Class
constructor
name
add
execute
execute
Async
execute
Background
execute
Background
Finish
execute
Finish
process
spawn
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJCdW1wXzBfMS5CdW1wLlRhc2tRdWV1ZUNsYXNzLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyB0c2QtaXMtc3RhdGljIiwiaHJlZiI6IkJ1bXBfMF8xLkJ1bXAuVGFza1F1ZXVlQ2xhc3MuaHRtbCNuYW1lIiwibmFtZSI6Im5hbW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