Service

This page summarizes the information & use of the service component.

Concepts

  • It is a stereotype of Component. They provide the same functionality as a regular component, but it exists for design purposes in order to keep SOLID principles.

Usage

Syntax:

@Service()

Example

import { Service } from "https://deno.land/x/mandarinets/mod.ts";

@Service()
export class MyService {
}

Last updated