Interface KuboNode

interface KuboNode {
    api: KuboRPCClient;
    options: KuboOptions;
    cleanup(args?): Promise<void>;
    info(): Promise<KuboInfo>;
    init(args?): Promise<void>;
    start(args?): Promise<void>;
    stop(args?): Promise<void>;
}

Hierarchy (view full)

Properties

Methods

Properties

options: KuboOptions

Methods

  • Perform any resource cleanup after stopping a disposable node

    Parameters

    • Optional args: unknown

    Returns Promise<void>