Extg.wait

You're seeing just the function wait, go back to Extg module for more information.
Link to this function

wait(tg, timeout \\ :infinity)

Specs

wait(pid(), timeout :: atom() | integer()) :: [any()] | {:error, term()}

Wait for all tasks in task group to complete. It blocks. If timeout is :infinity (default), this would block ad infinite.