require<T extends HostService> abstract method

T require<T extends HostService>()

Resolve a host service the capability needs.

Throws HostServiceUnavailableError if the host did not provide an instance for T.

Implementation

T require<T extends HostService>();