bitloops-language icon indicating copy to clipboard operation
bitloops-language copied to clipboard

Service port example

Open Varagos opened this issue 1 year ago • 0 comments

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());
}

Varagos avatar May 17 '23 07:05 Varagos