Slide 40
Slide 40 text
TASK STATE
{
1
: { '
s
t
a
t
u
s
'
: '
p
e
n
d
i
n
g
'
,
'
d
e
s
c
r
i
p
t
i
o
n
'
: '
R
e
n
a
m
i
n
g F
O
O t
o B
A
R
'
,
'
c
h
a
n
g
e
d
_
r
e
s
o
u
r
c
e
s
'
: [
. . .
]
}
,
2
: { '
s
t
a
t
u
s
'
: '
f
a
i
l
u
r
e
'
}
,
3
: { '
s
t
a
t
u
s
'
: '
s
u
c
c
e
s
s
'
,
'
c
a
l
l
t
i
p
'
: '
u
u
i
d
1
(
n
o
d
e
=
N
o
n
e
, c
l
o
c
k
_
s
e
q
=
N
o
n
e
)
' }
}
Simple mapping of task-ids to dicts
State is an actor and thus threadsafe. Multiple asynchronous
tasks could be accessing it at any time.