mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
Adds a way to cancel a blocking rpc call (#94)
This commit is contained in:
committed by
Peter Johnson
parent
d6e8de21ef
commit
c0ce4270f0
@@ -300,6 +300,10 @@ char *NT_GetRpcResultTimeout(int blocking, unsigned int call_uid,
|
||||
return result_cstr;
|
||||
}
|
||||
|
||||
void NT_CancelBlockingRpcResult(unsigned int call_uid) {
|
||||
nt::CancelBlockingRpcResult(call_uid);
|
||||
}
|
||||
|
||||
char *NT_PackRpcDefinition(const NT_RpcDefinition *def, size_t *packed_len) {
|
||||
auto packed = nt::PackRpcDefinition(ConvertFromC(*def));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user