lock method

  1. @MPI(name: "mesh.locker.w.lock")
Future<bool?> lock(
  1. String rid,
  2. Duration timeout, {
  3. Context? ctx,
})

Lock create write lock.

Implementation

@MPI(name: "mesh.locker.w.lock")
Future<bool?> lock(String rid, Duration timeout, {Context? ctx}) {
  throw UnimplementedError('lock() has not been implemented.');
}