Hi Johannes,
what is 'bfRFC' ?
JCo supports the following protocols: sRfc (the usual synchronous RFC), tRfc (transactional RFC), qRfc (queued RFC) and bgRfc (background RFC).
There is no specifc API for doing some other tasks simultaneously in the same thread where an RFC is currently being executed. And such an API is also not required since the Java runtime environment already offers the threading API for achieving this. You can easily create a separate Java thread on your own if you would like to do something in parallel. Then execute the RFC or alternatively your other task in the second thread.
Best regards,
Stefan
PS: By the way, it doesn't matter if you use the JCoFunction or the JCoRequest/JCoResponse model for doing sRfcs. Simply use the model that you like more or which fits better for your needs. But please note that there is no response data returned when using the tRfc, qRfc or bgRfc protocol.