public Blade await ( ) { if ( ! this . started ) { throw new IllegalStateException ( "Server hasn't been started. Call start() before calling this method." ) ; } try { this . latch . await ( ) ; } catch ( Exception e ) { log . error ( "Blade start await error" , e ) ; Thread . currentThread ( ) . interrupt ( ) ; } return this ; }
Await web server started