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
-
So, if I want to write a library that leverages
fsx
, how would I do so? What does that look like? Say, aglob
implementation.I don't mean to do something like monkeypatch
fsx
's API. Rather, this would be a library that accepts (is configurable with, somehow) anFsx
instance (?) and uses that instance to do its work.It appears that
fsx-core
exports theFsx
class, and something likefsx-node
provides an instance of that class. Is this corrrect? Is it reasonable for a library, then, to be instance-and-Impl
agnostic?Is there an example of such a thing?
Beta Was this translation helpful? Give feedback.
All reactions