Remove .gitignore and add dist and node_modules (LFS for .exe)
Made-with: Cursor
This commit is contained in:
1 parent
1fc4db96c8
commit
048ab8b980
5819 files changed
+1357436
-2
No files matched your search
+9
@@ -0,0 +1,9 @@
|
||||
var tmp = require("./index.js");
|
||||
var Promise = require("bluebird"); // just for delay, this works with native promises
|
||||
// disposer
|
||||
tmp.withFile((path) => {
|
||||
console.log("Created at path", path);
|
||||
return Promise.delay(1000);
|
||||
}).then(() => {
|
||||
console.log("File automatically disposed");
|
||||
});
|
||||
Reference in new issue
Block a user