Search
Preparing search index...
The search index is not available
Winter Cardinal
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
controller/internal
TaskMemory
Class TaskMemory<RESULT, ARGUMENTS>
Type parameters
RESULT
ARGUMENTS
:
unknown
[]
Hierarchy
TaskMemory
Index
Constructors
constructor
Properties
_$id
_$idn
_$pid
_$pidn
_$r
_$rn
_$rt
_$rtn
_$v
_$vn
_$vt
_$vtn
_is
Initialized
_name
_parent
_properties
_wrapper
Methods
cancel
With_
cancel_
complete
With_
create_
data
Event
Handler
Id_
data
Event
Handler
Pid_
data
Event
Handler_
data
History
Hook_
get
Argument_
get
Arguments_
get
Events_
get
Reason_
get
Result_
get
Wrapper_
init
Wrapper_
initialize_
is
Canceled_
is
Done_
is
Failed_
is
Initialized_
is
Locked_
is
Non
Null_
is
Read
Only_
is
Succeeded_
lock_
to
Json_
to
String_
trigger
Events_
uninitialize_
unlock_
Constructors
constructor
new
Task
Memory
(
parent
:
TaskParentMemory
, name
:
string
, ssinfo
:
TaskStaticData
, lock
:
Lock
, makeWrapper
:
function
)
:
TaskMemory
Parameters
parent:
TaskParentMemory
name:
string
ssinfo:
TaskStaticData
lock:
Lock
makeWrapper:
function
(
memory
:
TaskMemory
<
RESULT
,
ARGUMENTS
>
)
:
Connectable
Parameters
memory:
TaskMemory
<
RESULT
,
ARGUMENTS
>
Returns
Connectable
Returns
TaskMemory
Properties
Private
_$id
_$id
:
SLongMemory
Private
_$idn
_$idn
:
string
Private
_$pid
_$pid
:
SLongMemory
Private
_$pidn
_$pidn
:
string
Private
_$r
_$r
:
SClassMemory
<
RESULT
>
Private
_$rn
_$rn
:
string
Private
_$rt
_$rt
:
SStringMemory
Private
_$rtn
_$rtn
:
string
Private
_$v
_$v
:
SArrayNodeMemory
Private
_$vn
_$vn
:
string
Private
_$vt
_$vt
:
SClassMemory
<
string
>
Private
_$vtn
_$vtn
:
string
Private
_is
Initialized
_is
Initialized
:
boolean
= false
Private
_name
_name
:
string
Private
_parent
_parent
:
TaskParentMemory
Private
_properties
_properties
:
Properties
Private
_wrapper
_wrapper
:
Connectable
Methods
cancel
With_
cancel
With_
(
id
:
number
, reason
:
string
)
:
void
Parameters
id:
number
reason:
string
Returns
void
cancel_
cancel_
(
)
:
void
Returns
void
complete
With_
complete
With_
(
id
:
number
, result
:
RESULT
|
null
)
:
void
Parameters
id:
number
result:
RESULT
|
null
Returns
void
create_
create_
(
args
:
ARGUMENTS
)
:
void
Parameters
args:
ARGUMENTS
Returns
void
data
Event
Handler
Id_
data
Event
Handler
Id_
(
nameToEvents
:
EventInfoDataMap
)
:
void
Parameters
nameToEvents:
EventInfoDataMap
Returns
void
data
Event
Handler
Pid_
data
Event
Handler
Pid_
(
nameToEvents
:
EventInfoDataMap
)
:
void
Parameters
nameToEvents:
EventInfoDataMap
Returns
void
data
Event
Handler_
data
Event
Handler_
(
nameToEvents
:
EventInfoDataMap
)
:
void
Parameters
nameToEvents:
EventInfoDataMap
Returns
void
data
History
Hook_
data
History
Hook_
(
part
:
string
)
:
void
Parameters
part:
string
Returns
void
get
Argument_
get
Argument_
(
index
:
number
)
:
unknown
Parameters
index:
number
Returns
unknown
get
Arguments_
get
Arguments_
(
)
:
ARGUMENTS
Returns
ARGUMENTS
get
Events_
get
Events_
(
nameToEvents
:
EventInfoDataMap
)
:
EventArgumentList
Parameters
nameToEvents:
EventInfoDataMap
Returns
EventArgumentList
get
Reason_
get
Reason_
(
)
:
string
|
null
Returns
string
|
null
get
Result_
get
Result_
(
)
:
RESULT
|
null
Returns
RESULT
|
null
get
Wrapper_
get
Wrapper_
(
)
:
Connectable
Returns
Connectable
Private
init
Wrapper_
init
Wrapper_
(
wrapper
:
Connectable
)
:
Connectable
Parameters
wrapper:
Connectable
Returns
Connectable
initialize_
initialize_
(
)
:
void
Returns
void
is
Canceled_
is
Canceled_
(
)
:
boolean
Returns
boolean
is
Done_
is
Done_
(
)
:
boolean
Returns
boolean
is
Failed_
is
Failed_
(
)
:
boolean
Returns
boolean
is
Initialized_
is
Initialized_
(
)
:
boolean
Returns
boolean
is
Locked_
is
Locked_
(
)
:
boolean
Returns
boolean
is
Non
Null_
is
Non
Null_
(
)
:
boolean
Returns
boolean
is
Read
Only_
is
Read
Only_
(
)
:
boolean
Returns
boolean
is
Succeeded_
is
Succeeded_
(
)
:
boolean
Returns
boolean
lock_
lock_
(
)
:
void
Returns
void
to
Json_
to
Json_
(
)
:
object
Returns
object
arguments
:
ARGUMENTS
is
Done
:
boolean
is
Succeeded
:
boolean
reason
:
null
|
string
result
:
null
|
RESULT
to
String_
to
String_
(
)
:
string
Returns
string
trigger
Events_
trigger
Events_
(
eventMap
:
EventArgumentMap
, eventList
:
EventArgumentList
, isFirst
:
boolean
)
:
void
Parameters
eventMap:
EventArgumentMap
eventList:
EventArgumentList
isFirst:
boolean
Returns
void
uninitialize_
uninitialize_
(
)
:
void
Returns
void
unlock_
unlock_
(
)
:
void
Returns
void
Globals
Internals
controller
controller/data
event
exception
io
server
util
util/dom
util/lang
Externals
controller/data/internal
controller/internal
controller/internal/info
event/internal
exception/internal
server/internal
util/internal
util/lang/internal
Task
Memory
constructor
_$id
_$idn
_$pid
_$pidn
_$r
_$rn
_$rt
_$rtn
_$v
_$vn
_$vt
_$vtn
_is
Initialized
_name
_parent
_properties
_wrapper
cancel
With_
cancel_
complete
With_
create_
data
Event
Handler
Id_
data
Event
Handler
Pid_
data
Event
Handler_
data
History
Hook_
get
Argument_
get
Arguments_
get
Events_
get
Reason_
get
Result_
get
Wrapper_
init
Wrapper_
initialize_
is
Canceled_
is
Done_
is
Failed_
is
Initialized_
is
Locked_
is
Non
Null_
is
Read
Only_
is
Succeeded_
lock_
to
Json_
to
String_
trigger
Events_
uninitialize_
unlock_
Generated using
TypeDoc