loopbackio / loopback-connector-elastic-search

Strongloop Loopback connector for Elasticsearch
MIT License
78 stars 56 forks source link

Create 'connected ' event for handling boot script issues #113

Closed bharathkontham closed 6 years ago

bharathkontham commented 6 years ago

dataSource events already exists.

MyModel.getDataSource().once("connected", function() { // code after successful connection });