Callbacks in Thrift Asynchronous Functions?
问题 In Thrift it is possible to use the oneway modifier to specify a call as asynchronous . Apparently, it's not possible to define a callback , though, to be executed when the execution of the function is completed. It seems that the only possibility I have is to give my Thrift client ( PHP ) some "server" capabilities, so that, when the heavy computation is completed on the server side, I can send a notification to it. This means that I should have a new .thrift file, with new definitions, new