[skip ci] observe field fix
This commit is contained in:
1 parent
ee506e1ff9
commit
0d3c7e4f3f
2 files changed
+6
-1
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import "pkg:/source/utils/MessagePortUtils.bs"
|
||||
import "pkg:/source/utils/Types.bs"
|
||||
|
||||
namespace CancellationUtils
|
||||
@@ -15,7 +16,7 @@ namespace CancellationUtils
|
||||
return
|
||||
end if
|
||||
|
||||
cancellation.node.ObserveFieldScoped(cancellation.field, messagePort)
|
||||
MessagePortUtils.ObserveFieldScopedExSafe(cancellation.node, cancellation.field, messagePort)
|
||||
end function
|
||||
|
||||
function UnobserveCancellationScoped(cancellation as dynamic) as void
|
||||
|
||||
Reference in new issue
Block a user