Skip to content

Multiple Interface instanciations in a World (Multiton) #476

Closed
@cleanerx

Description

@cleanerx

I have interfaces which are structured identically. Example

package local:demo;

interface foo {
}

world x {
export foo1: foo;
export foo2: foo;
}

This is a desirable design if you happen to have multiple interfaces of the same syntax and semantic.
Component Frameworks like OSGi or Spring Boot offer such things and I wonder about the availability in wit?
Is there any other mechanism that could be utilized to model such a thing ?

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