UNPKG

lightningdevkit

Version:
22 lines (21 loc) 652 B
import { CommonBase } from './CommonBase.mjs'; /** An implementation of FutureCallback */ export interface FutureCallbackInterface { /**The method which is called. */ call(): void; } /** * A callback which is called when a [`Future`] completes. * * Note that this MUST NOT call back into LDK directly, it must instead schedule actions to be * taken later. */ export declare class FutureCallback extends CommonBase { /** Creates a new instance of FutureCallback from a given implementation */ static new_impl(arg: FutureCallbackInterface): FutureCallback; /** * The method which is called. */ call(): void; }