/// <inheritdoc /> public override async Task <bool> RemoveAsync(T item) { var itemData = ToSafeData(item); var requestMessage = ListRemoveCodec.EncodeRequest(Name, itemData); var responseMessage = await Cluster.Messaging.SendToPartitionOwnerAsync(requestMessage, PartitionId).CfAwait(); return(ListRemoveCodec.DecodeResponse(responseMessage).Response); }
public override bool Remove(T item) { var request = ListRemoveCodec.EncodeRequest(GetName(), ToData(item)); return(Invoke(request, m => ListRemoveCodec.DecodeResponse(m).response)); }