tvix/store: make *Service traits async

#306
Opened by flokli at 2023-09-11T15·31+00

Now that the interface between Evaluator and Store is a bit more fleshed out, and considering how much plumbing/bridging between sync and async we need (see instances of spawn_blocking which we could avoid if we'd be able to propagate asyncness, SyncReadIntoAsyncRead, as well as b/304), we might want to consider making the *Service traits async themselves.

Externally-used library code, like import could still provide a sync interface for sync consumers (like the TvixStoreIO EvalIO implementation) if needed.

  1. flokli changed the subject of this issue from "tvix/store: make *Service traits async" to "tvix/store: make `*Service` traits async" at 2023-09-11T15·31+00
  2. CL at https://cl.tvl.fyi/c/depot/+/9329.

    flokli at 2023-09-15T14·29+00

  3. Finished refactoring PathInfo and Directory in cl/9369

    cbrewster at 2023-09-21T21·49+00

  4. cbrewster closed this issue at 2023-09-21T21·49+00