seneca.js
// if the task queue is emptied.
if the task queue is emptied.
if the task queue is emptied .
function action_queue_clear() {
    root$.emit('ready')
    execute_ready(root$.private$.ready_list.shift())
    if (root$.private$.ge.isclear()) {
      while (0 < root$.private$.ready_list.length) {
        execute_ready(root$.private$.ready_list.shift())
      }
    }
  }
function action_queue_clear ( ) { root$ . emit ( 'ready' ) execute_ready ( root$ . private$ . ready_list . shift ( ) ) if ( root$ . private$ . ge . isclear ( ) ) { while ( 0 < root$ . private$ . ready_list . length ) { execute_ready ( root$ . private$ . ready_list . shift ( ) ) } } }
if the task queue is emptied.
if the task queue is emptied .