This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="devtools.js"></script> | |
</head> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* --- Userland --- */ | |
function makeUpdate(i) { | |
return function someUpdate() { | |
console.trace(`completeUpdate: update ${i}`); | |
}; | |
} | |
function businessLogic() { | |
scheduler.scheduleTask("foo", [makeUpdate(1), makeUpdate(2), makeUpdate(3)]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* --- Userland --- */ | |
function someTask() { | |
console.trace("completeWork: someTask"); | |
} | |
function someOtherTask() { | |
console.trace("completeWork: someOtherTask"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- macOS: open -a Google\ Chrome\ Canary --args --js-flags="--experimental-async-stack-tagging-api" --> | |
<!-- Linux: chrome --js-flags="--experimental-async-stack-tagging-api" --> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<script type="module"> | |
import * as rxjs from "https://unpkg.com/rxjs@7?module"; | |
// Wraps `rxjs::from` to also schedule an async task. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Enviroment setup | |
# Path vars | |
set -gx PATH /usr/local/bin /usr/bin /bin /usr/local/sbin /usr/sbin /sbin | |
set -gx PATH /opt/homebrew/bin $PATH | |
set -gx PATH $PATH $HOME/.local/bin | |
set -gx PATH $PATH $HOME/.cargo/bin | |
set -gx PATH $PATH $HOME/.yarn/bin |