Skip to content

mintmousse.wait

Waits for the thread to rejoin. Note, if mintmousse.stop hasn't been called, it will indefinitely block the main thread.

Can only be called on the main thread.

Synopsis

mintmousse.wait()

Parameters

Nothing.

Returns

Nothing.

Examples

mintmousse.wait()

love.quit()
  mintmousse.stop(true)
  -- ...
  mintmousse.wait()
  return
end

See Also