add async invocation of functions and methods. once we have that, adding timed invocation is trivial.
note: the protocol itself (libagnos) already supports this -- it only requires a way to exposing it nicely to the user.
i'm wondering whether to make it a separate function (easiest but increases code size), i.e.:
res = client.async_foo(1,2,3)
or as a wrapper around foo, i.e.:
res = async(client.foo)(1,2,3)
note: making attributes async seems to be quite useless and rather counter-intuitive. need to see if it makes sense.
add async invocation of functions and methods. once we have that, adding timed invocation is trivial.
note: the protocol itself (libagnos) already supports this -- it only requires a way to exposing it nicely to the user.
i'm wondering whether to make it a separate function (easiest but increases code size), i.e.: res = client.async_foo(1,2,3) or as a wrapper around foo, i.e.: res = async(client.foo)(1,2,3)
note: making attributes async seems to be quite useless and rather counter-intuitive. need to see if it makes sense.