public void processAllPendingCallbacks ( ) { while ( true ) { List < Callback > callbacks = this . getClient ( ) . pendingCallbacks ( ) ; if ( callbacks . size ( ) == 0 ) { break ; } callbacks . forEach ( this :: processCallback ) ; } }
Dequeues and processes pending jsii callbacks until there are no more callbacks to process .