Skip to content

Commit

Permalink
Update sample.bal
Browse files Browse the repository at this point in the history
  • Loading branch information
ruks authored Oct 15, 2024
1 parent ed1cbec commit 6bad759
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hello-world/sample.bal
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import ballerina/http;
import lang.runtime;

service /hello on new http:Listener(8090) {
resource function get greeting() returns string {
return "Hello, World!";
runtime:sleep(30);
}
}

0 comments on commit 6bad759

Please sign in to comment.