UNPKG

fabric-network

Version:

SDK for writing node.js applications to interact with Hyperledger Fabric. This package encapsulates the APIs to connect to a Fabric network, submit transactions and perform queries against the ledger.

11 lines (10 loc) 420 B
import { ListenerSession } from './listenersession'; import { BlockListener } from '../../events'; import { BlockEventSource } from './blockeventsource'; export declare class IsolatedBlockListenerSession implements ListenerSession { private readonly listener; private readonly eventSource; constructor(listener: BlockListener, eventSource: BlockEventSource); start(): Promise<void>; close(): void; }