Event Coordination
Wait for Event
Changed onWaits for a specific event to be signaled by another process, workflow, or session. This endpoint blocks until the event is signaled or the timeout is reached. Useful for coordinating between multiple browser sessions or workflows.
post/v1/events/{event_name}/wait
Request
- Base URLhttps://api.anchorbrowser.io
- AuthAPI key in header anchor-api-key
Path parameters
event_namestring required
The name of the event to wait for
Request body
Response
Event was signaled successfully
Example response
{
"data": {
"message": "Task completed",
"result": "success",
"timestamp": "2024-01-01T12:00:00Z"
}
}Changes
- info
the
request property default value60000was removed
- info