Class Welo

Database Factory

Hierarchy (view full)

Constructors

Properties

_opening: Map<string, Promise<Database>>
blockstore: Blockstore<{}, {}, {}, {}, {}, {}, {}, {}>

Type declaration

    Type declaration

      Type declaration

        Type declaration

          Type declaration

            Type declaration

              Type declaration

                Type declaration

                  components: Components
                  datastore: Datastore<{}, {}, {}, {}, {}, {}, {}, {}, {}, {}>

                  Type declaration

                    Type declaration

                      Type declaration

                        Type declaration

                          Type declaration

                            Type declaration

                              Type declaration

                                Type declaration

                                  Type declaration

                                    Type declaration

                                      identity: IdentityInstance<any>
                                      keychain: Keychain
                                      opened: Map<string, Database>
                                      replicators: ReplicatorModule<Replicator, string>[]

                                      Methods

                                      • Opens a database for a manifest.

                                        This method will throw an error if the database is already opened or being opened. Use Welo.opened to get opened databases.

                                        Parameters

                                        • manifest: Manifest

                                          the manifest of the database to open

                                        • options: OpenOptions = {}

                                          optional configuration for how to run the database

                                        Returns Promise<Database>

                                        the database instance for the given manifest

                                      Generated using TypeDoc