Realtime API
useRealtimeRunsWithTag
Subscribes to all changes to runs with a specific tag in a React component.
This react hook subscribes to all changes to runs with a specific tag. See the React hooks doc for more information on how to use this hook.
Response
The react hook returns an object with the following properties:
runs
object[]
requiredAn array of run objects. See the Run object doc for more information.
error
Error
An error object if an error occurred while subscribing.
Was this page helpful?