public static async Task <SaveResult <ChangeResult> > DeleteAsync <T>(this IHeap heap, ObjectRef obj, WriteFlags flags = WriteFlags.None, Guid idempotencyToken = default(Guid), INode node = null) where T : HeapObject => await heap.GetSpace <T>().DeleteAsync(obj, flags, idempotencyToken, node);
public static async Task <T> GetAsync <T>(this IHeap heap, ObjectRef obj, INode node = null) where T : HeapObject => await heap.GetSpace <T>().GetAsync(obj, node);