Skip to main content

createOmniaSwarmFromInstance

@totemsdk/omnia


@totemsdk/omnia / createOmniaSwarmFromInstance

Function: createOmniaSwarmFromInstance()

createOmniaSwarmFromInstance(swarm, config?): OmniaSwarm

Create an OmniaSwarm from an existing Hyperswarm instance.

Parameters

swarm

any

config?

OmniaSwarmConfig = {}

Returns

OmniaSwarm