Could an event called by a class be a sub Resumable?
For example
And could the class invoke the event and wait for completion?
Something like this
For example
B4X:
Sub Class_Event as ResumableSub
Return True
End Sub
And could the class invoke the event and wait for completion?
Something like this
B4X:
'Call Event
If SubExist(mCallBack,MEvent & "_Event") then
Wait for (CallSub(mCallBack,MEvent & "_Event")) Complete (Success As Boolean)
End If