durable-actors 0.5.2

Standalone regional durable-actors control plane, host, and durability runtime
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::*;

#[async_trait]
impl InitialReplicaSource for crate::bucket::access::RuntimeAccess {
    async fn targets(&self, scope: &ReplicaScope) -> Result<Vec<ReplicaTarget>> {
        self.initial_replica_targets(scope).await
    }

    async fn prepare(&self, scope: &ReplicaScope) -> Result<ReplicaMembership> {
        self.initial_replicas(scope).await
    }
}