* Watching progress * watch time endpoint * Lint fix * Changelog * options mandatory * tweak * tweak --------- Co-authored-by: github-action linter <githubaction@githubaction.com>
14 lines
467 B
Plaintext
14 lines
467 B
Plaintext
namespace MessagePortUtils
|
|
|
|
function ObserveFieldScopedExSafe(node as dynamic, field as string, port as dynamic) as void
|
|
' ObserveFieldScopedEx was added in 12.0
|
|
if FindMemberFunction(node, "ObserveFieldScopedEx") <> invalid
|
|
' bs:disable-next-line NO_OBSERVE_FIELD_SCOPED_EX
|
|
node.ObserveFieldScopedEx(field, port)
|
|
else
|
|
node.ObserveFieldScoped(field, port)
|
|
end if
|
|
end function
|
|
|
|
end namespace
|