Home / @sym20/core-ui / IService

IService interface

A service is a module that encapsulates common functionality in some area

A service is part of the UI layer, but will service all applications using the features that the service provides.

This is the base class for all services.

Signature
export interface IService 

Methods

MethodDescription
subscribe(fn)

Subscribe to changes in the service

unsubscribe(id)

Unsubscribe from changes in the service