lib/asynchronic/data_store/scoped_store.rb in asynchronic-1.2.0 vs lib/asynchronic/data_store/scoped_store.rb in asynchronic-1.2.1
- old
+ new
@@ -28,9 +28,13 @@
@data_store.keys.
select { |k| k.start_with? @scope[''] }.
map { |k| Key.new(k).remove_first @scope.sections.count }
end
+ def synchronize(key, &block)
+ data_store.synchronize(key, &block)
+ end
+
def connection_args
[
{
data_store_class: @data_store.class,
data_store_connection_args: @data_store.connection_args,
\ No newline at end of file