Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mart Lubbers
CleanSerial
Commits
4ec4afbb
Commit
4ec4afbb
authored
Nov 06, 2018
by
Mart Lubbers
Browse files
Adapt to new iTasks, refreshSensitive is gone
parent
d41d378a
Pipeline
#15978
passed with stage
in 3 minutes and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/iTasksTTY.icl
View file @
4ec4afbb
...
...
@@ -2,6 +2,7 @@ implementation module iTasksTTY
import
StdEnv
from
Data
.
Map
import
::
Map
,
newMap
import
Data
.
Func
import
Text
...
...
@@ -32,7 +33,7 @@ where
|
isError
merr
=
(
ExceptionResult
(
fromError
merr
),
iworld
)
=
(
ValueResult
NoValue
{
TaskEvalInfo
|
lastEvent
=
ts
,
removedTasks
=[],
refreshSensitive
=
True
}
{
TaskEvalInfo
|
lastEvent
=
ts
,
removedTasks
=[],
attributes
=
newMap
}
rep
(
TCBasic
taskId
ts
(
DeferredJSONNode
$
JSONString
""
)
False
)
,
iworld
)
...
...
@@ -53,7 +54,7 @@ where
(_,_,
True
)
=
(
ValueResult
(
Value
()
True
)
{
TaskEvalInfo
|
lastEvent
=
ts
,
removedTasks
=[],
refreshSensitive
=
True
}
{
TaskEvalInfo
|
lastEvent
=
ts
,
removedTasks
=[],
attributes
=
newMap
}
rep
(
TCDestroy
tree
)
,
{
iworld
&
resources
=[
TTYd
dp
tty
:
resources
]})
...
...
@@ -71,7 +72,7 @@ where
|
isError
merr
=
(
ExceptionResult
(
fromError
merr
),
iworld
)
=
(
ValueResult
NoValue
{
TaskEvalInfo
|
lastEvent
=
ts
,
removedTasks
=[],
refreshSensitive
=
True
}
{
TaskEvalInfo
|
lastEvent
=
ts
,
removedTasks
=[],
attributes
=
newMap
}
rep
(
TCBasic
taskId
ts
(
DeferredJSONNode
$
JSONString
newacc
)
False
)
,
iworld
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment