You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
10
10
### Added
11
11
12
+
* Added the option to pass arguments into the long running task of a background worker.
13
+
* Added the option to manually control when the background worker task is set to **Done**.
14
+
* Added dispose function to control resource deallocation in a background worker.
15
+
12
16
### Changed
13
17
18
+
* Set background threads in the background worker as daemon threads to prevent blocking the main thread.
19
+
* Changed base class of `Message` from `UserDict` to `object` because in IronPython 2.7 `UserDict` is an old-style class. The behavior of dictionary-like is still preserved.
Copy file name to clipboardExpand all lines: src/compas_eve/ghpython/components/Ce_BackgroundTask/metadata.json
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -10,14 +10,14 @@
10
10
"isAdvancedMode": true,
11
11
"iconDisplay": 2,
12
12
"inputParameters": [
13
-
{
14
-
"name": "reset",
15
-
"description": "Resets the background worker."
16
-
},
17
13
{
18
14
"name": "task",
19
15
"description": "A Python function that will be executed by the background worker. The function does not need to return quickly, it can even have an infinite loop and keep running, it will not block the UI."
20
16
},
17
+
{
18
+
"name": "reset",
19
+
"description": "Resets the background worker."
20
+
},
21
21
{
22
22
"name": "on",
23
23
"description": "Turn ON or OFF the background worker.",
0 commit comments