diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2023-09-28 10:57:32 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2023-09-28 10:57:32 -0400 |
commit | 968a39245ae53136dc9263e3e1f4255f2e0bd41a (patch) | |
tree | f9ea4fb5a94647e663b5a487ea63b461d3a75f37 /scripts | |
parent | 7fccd662df48e5ddef0ec7e14a43289024bd27e1 (diff) |
DRTVWR-589: Add Lua-callable await_event() function.
This suspends the calling Lua coroutine (and C++ coroutine on which the Lua
state is running) until an event is received on the named LLEventPump.
Returns the event.
Pass optional timeout in seconds as a second argument. With no timeout, waits
indefinitely.
Pass optional timeout discriminator return value as a third argument
(default nil).
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions