method Context.getServiceById
Context.getServiceById(id: string): unknown

Return the service identified by the specified ID.

Parameters

id: string

the ID of the service to retrieve.

Return Type

unknown

Usage

import type Context from ".";