You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 485ab83
Browse filesBrowse the repository at this point in the historyBrowse files
fix(core): end runs.subscribeToRun after the run completes
`runs.subscribeToRun` now ends after the run completes. The `for await`
loop exits right after the update with the final status and the
subscription stops its connection, so a script that subscribes to a run
exits on its own. Pass `stopOnCompletion: false` to keep the
subscription open. `withStreams()` subscriptions keep their current
behaviour.
Mono-RevId: 04b515ab1c1e80b3cb328b5f80075d9086760c54
`runs.subscribeToRun` now ends after the run completes. The `for await` loop exits right after the update with the final status, and the subscription stops its connection, so a script that subscribes to a run exits on its own. Pass `stopOnCompletion: false` to keep the subscription open after completion.
0 commit comments