Interface RequestOptions<Payload, Response>

interface RequestOptions<Payload, Response> {
    onFinish: ((response: Response) => void);
    onCancel: (() => void);
    payload: Payload;
    getProvider?: (() => Promise<undefined | BtcProvider>);
}

Type Parameters

Properties

onFinish: ((response: Response) => void)
onCancel: (() => void)
payload: Payload
getProvider?: (() => Promise<undefined | BtcProvider>)