helia

Home > helia > createHelia

createHelia() function

Signature:

export declare function createHelia(init?: HeliaInit<Libp2p<{
    dht: DualKadDHT;
    pubsub: PubSub;
}>>): Promise<Helia<Libp2p<{
    dht: DualKadDHT;
    pubsub: PubSub;
}>>>;

Parameters

Parameter Type Description
init HeliaInit<Libp2p<{ dht: DualKadDHT; pubsub: PubSub; }>> (Optional)

Returns:

Promise<Helia<Libp2p<{ dht: DualKadDHT; pubsub: PubSub; }>>>