Skip to content
This repository was archived by the owner on Nov 25, 2025. It is now read-only.

[0.3.0-draft] Can calls to set-stdout/set-stderr overwrite each other? #64

@dicej

Description

@dicej

In the 0.3.0-draft stdio.wit, the (currently undocumented) set-stdout and set-stderr functions raise the question of what happens when they are called more than once (either by the same component or by multiple subcomponents of a composed component). Will the last call overwrite any previous calls? If not, perhaps we should rename the functions to e.g. add-stdout/add-stderr and document that the stream parameter will be added to the set of streams sent to stdout/stderr rather than replacing the previous stream.

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