This is a blocking API. You'll need to design an adapter library that will enable access to that functionality in a non-blocking way. Anyway, since this API is blocking, your adapter will have to create a separate thread just to work with this API, manage non-blocking requests, etc.