Polling repeatedly requests a long-running operation until its done field becomes true, then returns the operation’s final result. It is simple, timely according to the client’s schedule, and places result-checking under client control. section 10.3.3 section 10.0
Creating a chat room
A client calls CreateChatRoom, repeatedly calls GetOperation with the returned operation ID, waits one second between requests, and returns operation.result when complete.
Choose polling deliberately:
- Use a fixed wait interval or exponential back-off to reduce unnecessary network traffic and server compute. section 10.3.3 section 10.3.3
- Persist the operation ID so another process can resume polling after the initiating process fails. section 10.3.8
- Prefer a custom wait method when the API can block until completion instead of requiring repeated status requests. section 10.3.3








