beremiz

1a5f459d5aa5
Python runtime: call "OnIdle" tasks when py_eval FBs execution queue is empty.

This is usefull to execute slow operations that can be deffered from functions called by py_eval FBs.
User python code add a callable to "OnIdle" list made available in global scope.
# opcua/__init__.py
from __future__ import absolute_import
from .client import OPCUAClient
# class RootClass(object):
# XSD = """<?xml version="1.0" encoding="ISO-8859-1" ?>
# <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
# </xsd:schema>
# """
# CTNChildrenTypes = [("OPCUAClient", OPCUAClient, "OPCUA Client")]
#