Comments (1)
Unfortunately, I don't really think this is going to be feasible. The concurrency on each platform is completely different, and integrating them would not be possible. You'd definitely want to be able to await somePromise
in your handlers in JavaScript, but that would change the function signature(s) to something incompatible with Erlang.
Both currently supported JS runtimes do have web servers built in though, so getting something somewhat similar to this library as a separate package / FFI module in your project would be easy. Much easier than this implementation :)
Appreciate the interest though!
from mist.
Related Issues (20)
- IPv6 issue HOT 1
- An error occurs with websocket HOT 3
- Directing "/" to load "index.html" HOT 2
- Error reporting in handler requests HOT 3
- Integrate Server-Sent Events in some fashion HOT 1
- HTTP/2 support
- Allow `mist` to be within a supervision tree
- request does not take host (and port) from header HOT 3
- Gleam 1.0 is saying String instead of BitArray HOT 2
- Set multiple cookies in one response HOT 1
- Broken syntax highlighting inside hexdocs HOT 1
- how to debug why server failing HOT 2
- Close connections automaticaly? HOT 1
- Slowness and random crashes when sending multiple image files HOT 4
- mist_clock ETS crashes upon restart HOT 3
- Allow Mist to Listen on Unix Domain Socket HOT 1
- S
- Log/Access OS-allocated TCP port HOT 3
- error: Unknown module field gleam/list.at HOT 2
- mist failing to compile when using it as a dependency for the lustre_dev_tools project HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mist.