We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 937c4c1 + e31b3b9 commit c91a1ddCopy full SHA for c91a1dd
examples/qjs/request-reply.js
@@ -0,0 +1,8 @@
1
+#!/usr/bin/env -S qjs --module
2
+import * as std from "std";
3
+
4
+let line;
5
+while ((line = std.in.getline()) != null) {
6
+ console.log("RCVD: " + line)
7
+ std.out.flush();
8
+}
0 commit comments