Wait for host state when joining a room before the host arrives.
Remarks
When a user tries to join a room that the host has not yet started,
they can wait for the host to create it. The timeout field indicates
how long the client will wait before giving up.
return ( <Viewstyle={styles.center}> <Text>Waiting for host to start "{roomName}"</Text> {remaining!==null&&<Text>Timeout in {remaining}s</Text>} </View> ); }
Wait for host state when joining a room before the host arrives.
Remarks
When a user tries to join a room that the host has not yet started, they can wait for the host to create it. The
timeoutfield indicates how long the client will wait before giving up.Example
Waiting for host screen: