Home > helia > createHelia
Signature:
export declare function createHelia(init?: HeliaInit<Libp2p<{
dht: DualKadDHT;
pubsub: PubSub;
}>>): Promise<Helia<Libp2p<{
dht: DualKadDHT;
pubsub: PubSub;
}>>>;
Parameter | Type | Description |
---|---|---|
init | HeliaInit<Libp2p<{ dht: DualKadDHT; pubsub: PubSub; }>> | (Optional) |
Returns:
Promise<Helia<Libp2p<{ dht: DualKadDHT; pubsub: PubSub; }>>>