Jump to content




Expose queueEvent in ILuaContext


  • You cannot reply to this topic
No replies to this topic

#1 SquidDev

    Frickin' laser beams | Resident Necromancer

  • Members
  • 1,427 posts
  • LocationDoes anyone put something serious here?

Posted 06 July 2016 - 03:21 PM

A previous CC version (1.70?) gave us ILuaContext.executeMainThreadTask and ILuaContext.issueMainThreadTask. Internally this requires queuing events. However this method is not exposed in ILuaContext and so you must also rely on IComputerAccess's version if you wish to implement custom task systems (such as delays).

To remove this dependency ILuaContext should provide a queueEvent method.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users