Opened 15 years ago
Last modified 9 years ago
#138 closed enhancement
d=Tub.whenReady() — at Initial Version
Reported by: | Brian Warner | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | undecided |
Component: | usability | Version: | 0.4.1 |
Keywords: | Cc: |
Description
It would be handy to have a whenReady() one-shot-observer, which would fire when the Tub was running and any automatically-detected IP address listeners were configured. Callers should be able to safely call Tub.registerReference() after this fires.
This would let me replace some ugly Tahoe startup code which tries to guess when the Tub is ready by waiting for a different Service to be started and then stalling through fireEventually() a few times.
Note: See
TracTickets for help on using
tickets.