= service:wait

== Description

Wait for a given OSGi service.

== Syntax

service:wait [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)

|-e, --exception
|throw an exception if the service is not found after the timeout

|--help
|Display this help message
|===


