pub async fn poll_copilot_device_flow(
config: &CopilotOAuthConfig,
device_code: &str,
) -> DeviceFlowPollResultExpand description
Poll the GitHub device flow token endpoint.
Call this repeatedly at the interval specified in DeviceCodeResponse
until the result is not DeviceFlowPollResult::Pending.