Skip to content

As a library user I want to create the Environment in order to allocate resources for the connections #9

@l4mby

Description

@l4mby

Create the Environment which will handle multiple connections

import { createEnvironment } from "./environment.js"

const environment = createEnvironment({ host: "localhost", port: 5672, username: "guest", password: "guest" })

// close the environment when the application stops
await environment.close()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions