/// <inheritdoc /> public override async Task <bool> IsEmptyAsync() { var requestMessage = ListIsEmptyCodec.EncodeRequest(Name); var responseMessage = await Cluster.Messaging.SendToPartitionOwnerAsync(requestMessage, PartitionId).CAF(); return(ListIsEmptyCodec.DecodeResponse(responseMessage).Response); }
public override bool IsEmpty() { var request = ListIsEmptyCodec.EncodeRequest(GetName()); return(Invoke(request, m => ListIsEmptyCodec.DecodeResponse(m).response)); }