Rewrite dist client interface to uniformly use async (#1166)
Rewrite dist client interface to uniformly use async (#1166)

Fixes #1161

Co-authored-by: Igor Matuszewski <789e558c5223e536b796b7645300bf2a95aa3192@gmail.com>
mozilla/sccache,mozilla/sccache,mozilla/sccache