It's something like that, basically when user want to operate something, ex opening a folder, the typescript code send a message to the rust code to open that folder return the information of the files inside the folder to the typescript then typescript is in charge to display it on the webview.
It's something like that, basically when user want to operate something, ex opening a folder, the typescript code send a message to the rust code to open that folder return the information of the files inside the folder to the typescript then typescript is in charge to display it on the webview.
Hope this answers your question.
Now all the confusions have been cleared up. Thanks!