kpg
kpg

Reputation: 7966

How to write a Dart 'worker' server

I want to write a Dart server that reads from a Firebase queue and sends emails.

What is not clear to me is how to write a server that listens for something other than HTTP requests, in my case a Firebase queue like e.g. this project .

Upvotes: 1

Views: 89

Answers (1)

Robert de W
Robert de W

Reputation: 306

It does not "listen" to HTTP connections in the original client <-> server sense. It takes a job from the queue and executes it, then returns back the result and goes on with the next job.

You'd need a Dart wrapper for the Firebase queue implementation.

Upvotes: 1

Related Questions