Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 747 Bytes

asynchronous.rst

File metadata and controls

23 lines (16 loc) · 747 Bytes

Asynchronous

Now we have supported the use of asynchronous methods to submit transactions, py-stellar-base gives you the choice, rather than forcing you into always writing async; sync code is easier to write, generally safer, and has many more libraries to choose from.

The following is an example of send a payment by an asynchronous method, the same example of using the synchronization method can be found here:

../../examples/payment_async.py

The following example helps you listen to multiple endpoints asynchronously.

../../examples/stream_requests_async.py