-
-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bndpomrepo: Fix initialization problems and move poll work
We fix the initialization issues in BndPomRepository. A memoizer is used to make sure there is only one call to the preparation code and the memoized value is the promise of the eventual completion of preparation. So both prepare and init will ensure that preparation has commenced and init will then wait for it to complete. We also move the poll method call to the normal executor. Signed-off-by: BJ Hargrave <[email protected]>
- Loading branch information
1 parent
6d0034b
commit 2d151b9
Showing
1 changed file
with
51 additions
and
27 deletions.
There are no files selected for viewing
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