Options
All
  • Public
  • Public/Protected
  • All
Menu

Module sync

Index

Executable

Executable

  • main(ns: NS): Promise<void>
  • Synchronizes files with hosted version. Base URL can be passed in as args[0].

    export
    example

    Synchronize with default server run /sync.js

    example

    Synchronize with custom server run /sync.js http://1.2.3.4:8123

    Parameters

    • ns: NS

      The Netscript object.

    Returns Promise<void>

Generated using TypeDoc