Link Search Menu Expand Document

Builtin

This topic is about builtin services.

TpLoader

TpLoader help develop Modules.

TpInspector

const platform = new Platform().import(HttpServerModule)
const inspector = platform.expose(TpInspector)

platform.start()
await inspector.wait_start()

TpLogger

You can provide a custom TpLogger to do something after started or after terminated

new Platform().import({ provide: TpLogger, useClass: CustomLogger })