Options
All
  • Public
  • Public/Protected
  • All
Menu

@fluencelabs/fluence

Index

Classes

Interfaces

Type aliases

Variables

Functions

Type aliases

AvmLoglevel

AvmLoglevel: LogLevel

Enum representing the log level used in Aqua VM. Possible values: 'info', 'trace', 'debug', 'info', 'warn', 'error', 'off';

PeerIdB58

PeerIdB58: string

Peer ID's id as a base58 string (multihash/CIDv0).

Variables

Const Fluence

Fluence: { getPeer: () => FluencePeer; getStatus: () => PeerStatus; start: (config?: PeerConfig) => Promise<void>; stop: () => Promise<void> } = ...

Public interface to Fluence JS

Type declaration

  • getPeer: () => FluencePeer
  • getStatus: () => PeerStatus
  • start: (config?: PeerConfig) => Promise<void>
      • Initializes the default peer: starts the Aqua VM, initializes the default call service handlers and (optionally) connect to the Fluence network

        Parameters

        • Optional config: PeerConfig

          object specifying peer configuration

        Returns Promise<void>

  • stop: () => Promise<void>
      • (): Promise<void>
      • Un-initializes the default peer: stops all the underlying workflows, stops the Aqua VM and disconnects from the Fluence network

        Returns Promise<void>

Functions

Const setLogLevel

  • setLogLevel(level: LogLevelDesc): void
  • Parameters

    • level: LogLevelDesc

    Returns void

Generated using TypeDoc