Replies: 1 comment 2 replies
-
I'd suggest you check out the source code for each of the runtime packages, as I think that will answer your questions about how to use the For the second question, it is possible to be agnostic as to the implementation as long as you're passing an |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So, if I want to write a library that leverages
fsx, how would I do so? What does that look like? Say, aglobimplementation.I don't mean to do something like monkeypatch
fsx's API. Rather, this would be a library that accepts (is configurable with, somehow) anFsxinstance (?) and uses that instance to do its work.It appears that
fsx-coreexports theFsxclass, and something likefsx-nodeprovides an instance of that class. Is this corrrect? Is it reasonable for a library, then, to be instance-and-Implagnostic?Is there an example of such a thing?
Beta Was this translation helpful? Give feedback.
All reactions