dev:wait-for-service

Description

Wait for a given OSGi service.

Syntax

dev:wait-for-service [options] service

Arguments

Name Description
service The service class or filter

Options

Name Description
-t, --timeout timeout to wait for the service (in milliseconds, negative to not wait at all, zero to wait forever)
--help Display this help message
-e, --exception throw an exception if the service is not found after the timeout