Invalid access of mutable storage in an isolated Ballerina function despite using final keyword in ballerina
I’m trying to use a module-level array inside an isolated function in Ballerina. To ensure immutability, I used the final keyword when declaring the array. However, I’m encountering an error indicating “invalid access of mutable storage in an ‘isolated’ function (BCE3943)” when attempting to access the array within the isolated function.
Ballerina debugger starts only one server in my ballerina project
MY ballerina project contains multiple servers.
Dependency versions are not updated for Custom repositories
Dependency versions of modules from custom repositories are not automatically updated.
Dependency versions are not updated for Custom repositories
Dependency versions of modules from custom repositories are not automatically updated.
How to make functions accessing a table thread safe?
I have the following code, and I want to make sure that the actions on the table are thread-safe (and make the accessor functions isolated). How should I go about it?