Closed mond77 closed 1 year ago
Another problem is that the new channel may increase latency. Pls test it in the future.
Another problem is that the new channel may increase latency. Pls test it in the future.
yeah, the expense of sync_channel will be significant when repeated id was registered.
close #75
changed:
occupied
; block register_callback if the id has already been occupied.tested: 10000 Tokio task for call_remote() every 20 seconds, totally 10 times.
result: when main exited, start_index was 78192.(forget to wait all callbacks done) cleanup can reasonably work. call_remote without occurring error.