<div dir="ltr"><p>I am trying to get asynchronous delegates to work in 1.1.2 and 2.0 beta3, both fail for me, here is what I am trying to do<br></p><p></p><p>from IronPython.Runtime.Calls import CallTarget0<br><br>def printHi():<br>
print 'hi'<br><br>delegate = CallTarget0(printHi)<br>async_result = delegate.BeginInvoke(None, None)<br>delegate.EndInvoke(async_result)<br></p><p>Here is what I get: </p><p>Traceback (most recent call last):<br>
File , line 0, in <stdin>##22<br> File , line 0, in EndInvoke##23<br>SystemError: Object reference not set to an instance of an object.<br><br></p></div>