</BUG>
}
}
default CompletableFuture<StatusCode> writeValue(NodeId nodeId, DataValue value) {
return write(Collections.singletonList(new WriteValue(nodeId, uint(13), null, value)))
<BUG>.thenApply(response -> response.getResults()[0]);
</BUG>
}
CompletableFuture<HistoryReadResponse> historyRead(HistoryReadDetails historyReadDetails,
TimestampsToReturn timestampsToReturn,

} else {
Stream<WriteValue> stream = StreamUtils.zip(
nodeIds.stream(), values.stream(),
(nodeId, value) -> new WriteValue(nodeId, uint(13), null, value));
return write(stream.collect(Collectors.toList()))
.thenApply(response -> l(response.getResults()));
}
}
default CompletableFuture<StatusCode> writeValue(NodeId nodeId, DataValue value) {
return write(Collections.singletonList(new WriteValue(nodeId, uint(13), null, value)))
.thenApply(response -> l(response.getResults()).get(0));
}
CompletableFuture<HistoryReadResponse> historyRead(HistoryReadDetails historyReadDetails,
TimestampsToReturn timestampsToReturn,
