Remove waitForConnection?
Opened this issue · 0 comments
emschwartz commented
If the ledger plugin's connect
method returns a Promise that resolves when it's connected, why not just do the same for core? Right now the API requires you to call:
client.connect()
client.waitForConnection().then(...)
Instead, we could just have:
client.connect().then(...)