void function ( Predicate < T > arg0 ) { waitFor ( arg0 , 0 ) ; }
this causes the currently executing thread to wait until the specified event is dispatched and the provided predicate returns true . concode_field_sep ExecutorService eventExecutor concode_elem_sep V listener concode_elem_sep ConcurrentHashMap<Class<?>,ConcurrentHashMap<Method,CopyOnWriteArrayList<ListenerPair<Object>>>> methodListeners concode_elem_sep ConcurrentHashMap<Class<?>,CopyOnWriteArrayList<ListenerPair<IListener>>> classListeners concode_elem_sep IDiscordClient client concode_elem_sep boolean isTemporary concode_field_sep void unregisterListener concode_elem_sep void unregisterListener concode_elem_sep void dispatch concode_elem_sep void registerListener concode_elem_sep void registerListener concode_elem_sep void registerListener concode_elem_sep void registerListener concode_elem_sep void registerListener concode_elem_sep void registerTemporaryListener concode_elem_sep void registerTemporaryListener concode_elem_sep void registerTemporaryListener