func ToPersistenceScope(
scope Scope,
return &persistencespb.QueueSliceScope{
Range: ToPersistenceRange(scope.Range),
Predicate: ToPersistencePredicate(scope.Predicate),
}
}
func FromPersistenceScope(
scope *persistencespb.QueueSliceScope,
return NewScope(
FromPersistenceRange(scope.Range),
FromPersistencePredicate(scope.Predicate),
)
}
func ToPersistenceRange(