I'm using flask to build the backend api for an application, one thing I need to do is:
1. get the content the user submited
2. send a twitter with that content
3. save the content to my DB and return the id of the new item
now the problem is that step 2 takes too long time so it slows down the total request time.
to be more specific, step 2 is: twitter.send(content)
How could I make step 2 async? PS: I don't need to know if step 2 is successful or not