Skip to content

Type Alias: DeviceOperation ​

ts
type DeviceOperation = (ctx, params) => Promise<unknown>;

Defined in: netconf/src/devices/device.ts:46

A profile operation written in code: sends its RPCs through ctx and returns the result.

Parameters ​

ctx ​

DeviceContext

params ​

Readonly<Record<string, unknown>>

Returns ​

Promise<unknown>

Released under the MIT Licence.