Jeffrey Qiu
2018-05-31 09:14:40 UTC
The calculator.capnp in examples mentioned:
# A client can create a Function that runs on the server side using
# `defFunction()` or `getOperator()`. * Alternatively, a client can*
* # implement a Function on the client side and the server will call
back*
* # to it.* However, a function defined on the client side will require
a
# network round trip whenever the server needs to call it, whereas
# functions defined on the server and then passed back to it are called
# locally.
How to do it with Python?
# A client can create a Function that runs on the server side using
# `defFunction()` or `getOperator()`. * Alternatively, a client can*
* # implement a Function on the client side and the server will call
back*
* # to it.* However, a function defined on the client side will require
a
# network round trip whenever the server needs to call it, whereas
# functions defined on the server and then passed back to it are called
# locally.
How to do it with Python?
--
You received this message because you are subscribed to the Google Groups "Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capnproto+***@googlegroups.com.
Visit this group at https://groups.google.com/group/capnproto.
You received this message because you are subscribed to the Google Groups "Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capnproto+***@googlegroups.com.
Visit this group at https://groups.google.com/group/capnproto.