Created
September 4, 2021 02:24
-
-
Save jakecyr/5e70afca2d7795c7aaf0799ac83f1d24 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| const { SetCallback, TriggerCallback } = require('./index'); | |
| SetCallback(() => { | |
| console.log('hello world'); | |
| }); | |
| TriggerCallback(); | |
| // 'hello world' is logged |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment