Skip to content

Class: RTUProvider ​

The Adonis Service Provider for the Adonis RTU package which registers the bindings for the RTUInterface with the Adonis IoC container and allows it to hook to the remaining Adonis lifecycle events.

Methods ​

boot() ​

ts
boot(): Promise<void>;

Called when the container bindings have booted

Returns ​

Promise<void>


register() ​

ts
register(): void;

Registers the rtu bindings for the RTUInterface with the Adonis IoC container.

Returns ​

void


shutdown() ​

ts
shutdown(): Promise<void>;

Called when preparing to shutdown the app

Returns ​

Promise<void>