You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The documentation suggests that a table representing a filter can be passed directly to EventQueue:waitFor() but this doesn't work and fails with fairly misleading error messages. Calling like this:
queue:waitFor{event="StartDocking"}
results in an error calling 'waitFor' on bad self (table expected, got EventQueue). I tried a few different ways but it is necessary to construct an EventFilter object:
queue:waitFor(event.filter{event="StartDocking"})
This probably just needs a documentation fix.
The text was updated successfully, but these errors were encountered:
Describe the bug
The documentation suggests that a table representing a filter can be passed directly to
EventQueue:waitFor()
but this doesn't work and fails with fairly misleading error messages. Calling like this:results in an error
calling 'waitFor' on bad self (table expected, got EventQueue)
. I tried a few different ways but it is necessary to construct anEventFilter
object:This probably just needs a documentation fix.
The text was updated successfully, but these errors were encountered: