void vortex_listener_wait  ) 
 

Blocks a listener (or listeners) launched until vortex finish.

This function should be called before creating a server calling to vortex_listener_new to block current thread.

This function can be avoided if the program structure can ensure it will not end after calling vortex_listener_new.

This function will be unblocked when the vortex listener created ends or a failure have occur while creating the listener.