You can achieve something similar by creating a method that can start a task in the background and return a task id which can be used as input to a poll method. You will need to make your background publish it's progress somehow (ie. Using the file system) for the poll method to use.
best regards Jakob Simon-Gaarde
You can essentially already do this with my JsonRpc implementation,
and possibly with some (all?) of the other bi-directional over tcp
implementations. Note that rather than adding to the spec, my
solution depends on both ends of the connection being both a jsonrpc
client and a jsonrpc server at the same time (ie, a peer arrangement).
(I see that this is one of your 'not preferred' solutions.)
Anyway, you can see
http://www.openminddev.net/rpcbd/python/callback_examples.html for
some examples.
Cheers,
Rasjid.