File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,25 @@ Performs action and waits for the Worker to close.
130130### param: Worker.waitForClose.callback = %%-java-wait-for-event-callback-%%
131131* since: v1.9
132132
133+ ## async method: Worker.waitForConsoleMessage
134+ * since: v1.57
135+ * langs: java
136+ - returns: <[ ConsoleMessage] >
137+
138+ Performs action and waits for a console message.
139+
140+ ### option: Worker.waitForConsoleMessage.predicate
141+ * since: v1.57
142+ - ` predicate ` <[ function] \( [ ConsoleMessage] \) :[ boolean] >
143+
144+ Receives the [ ConsoleMessage] object and resolves to true when the waiting should resolve.
145+
146+ ### option: Worker.waitForConsoleMessage.timeout = %%-wait-for-event-timeout-%%
147+ * since: v1.57
148+
149+ ### param: Worker.waitForConsoleMessage.callback = %%-java-wait-for-event-callback-%%
150+ * since: v1.57
151+
133152## async method: Worker.waitForEvent
134153* since: v1.57
135154* langs: js, python
You can’t perform that action at this time.
0 commit comments