1.0.4 • Published 5 years ago
ep3-ls-client v1.0.4
install
npm i ep3-ls-client
usage
Start with only few lines of code
import { LifeSignalsService } from 'node_modules/grpc-ls-client';
LifeSignalsService('<endpointURL>','<PatchId>').getLiveData().subscribe((data) => {
//data for your processing
});
configure patchIds on the fly like below
let lifeSignalService = LifeSignalsService('','test');
//later on some time you can change patchid like this
lifeSignalService.patchId = "<patchId>"