Skip to content

Service port example #455

Open
Open
@Varagos

Description

@Varagos

Extend service port documentation with an example.
One example based on the Todo could be:

Struct SendEmailRequest {
    string origin;
    string destination;
    string content;
}

ServicePort EmailServicePort {
    send(email: SendEmailRequest): (OK(void),Errors());
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @Varagos

        Issue actions

          Service port example · Issue #455 · bitloops/bitloops-language