Open emschwartz opened 8 years ago
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:
connect
client.connect() client.waitForConnection().then(...)
Instead, we could just have:
client.connect().then(...)
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:Instead, we could just have: