-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Addressed various initialization issues and patterns (#143)
There are more to be done, but this is a good start. - Fixed confusing patterns of existing async method take callbacks, and yet return immediately without invoking and awaiting on the callback. - Introduced `DwnServer.stop()` for clarity and consistency. - Introduced `HttpApi.close()` for clarity and consistency. - Added missing `removeProcessHandlers` as counterpart to `setProcessHandlers` for proper clean up. - Added `didResolver` to `DwnServerOptions` for overriding DID Resolver cache LevelDB implementation in tests to prevent DB locking issues. - Used Poller to make some tests more stable.
- Loading branch information
1 parent
704cbb4
commit 24199fa
Showing
15 changed files
with
375 additions
and
172 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
Oops, something went wrong.