mirror of
https://github.com/autistic-symposium/backend-and-orchestration-toolkit.git
synced 2025-06-08 23:13:08 -04:00
add fundamentals of backend engineering and protocols
This commit is contained in:
parent
941083eb8f
commit
4cf49ba50b
6 changed files with 84 additions and 20 deletions
7
code/protocol_demos/sync-async/async.js
Normal file
7
code/protocol_demos/sync-async/async.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
const fs = require("fs");
|
||||
|
||||
console.log("first");
|
||||
|
||||
fs.readFile("file.txt", (err,data)=> console.log(data.toString()));
|
||||
|
||||
console.log("second");
|
Loading…
Add table
Add a link
Reference in a new issue