Skip to content
Back

How to implement a open connection on Cloud Functios?

  • 0
  • Functions
dammy
7 Aug, 2023, 09:55

How do I implement an open connection that won't close until there's a response from the API I connected to.

I mean to say: I want to send a request to an API and don't want my cloud function to stop running until there's a response from the API.

TL;DR
User is asking how to implement an open connection on Cloud Functions. They are specifically looking for a solution in the Dart language. They mention working with the Paystack payment gateway. One user suggests using asynchronous techniques. User wants to implement a connection that won't close until there's a response from the API they connected to. Solution: Implement asynchronous techniques in Dart to keep the connection open until a response is received from the API.
joeyouss
7 Aug, 2023, 10:13

Hi, have you tried using asynchoronous techniques?

dammy
7 Aug, 2023, 10:32

how please?

dammy
7 Aug, 2023, 10:33

@joeyouss

joeyouss
7 Aug, 2023, 10:50

which SDK are you working with?

dammy
8 Aug, 2023, 07:30

paystack payment gateway

joeyouss
8 Aug, 2023, 09:49

Hi, apologies for late reply

joeyouss
8 Aug, 2023, 09:49

I meant the language please?

dammy
10 Aug, 2023, 08:45

Dart Language @joeyouss

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more