Skip to content

this-as or calling globaljs/objects from a cljs function #218

Answered by borkdude
frap asked this question in Q&A
Discussion options

You must be logged in to vote

@frap I don't know how this-as relates to your question, but I made an example with ssh2 here now:

https://github.com/babashka/nbb/blob/main/examples/ssh2/example.cljs

It also shows a promise-based approach using promise and ssh2-promise which might be more convenient.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@borkdude
Comment options

@frap
Comment options

Answer selected by frap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants