The OpenD Programming Language

addToSimpledisplayEventLoop

Warning: you should call this AFTER websocket.connect or else it might throw on connect because the function sets nonblocking mode and the connect function doesn't handle that well (it throws on the "would block" condition in that function. easier to just do that first)

template addToSimpledisplayEventLoop()
void
addToSimpledisplayEventLoop
(,
imported!"arsd.simpledisplay".SimpleWindow window
)

Meta