Uploaded November 2024 | Updated November 2026, 45 minutes ago
An incorrect statement is made in this tutorial about the Session Type, so we are amending this video with the one below to explain why the statement was made. The GetSession can access the global variable from any class, even though there is only one instance of the Session type per round. It was not correct to say that it can't.
youtu.be/0noE4W2PsUE
In this tutorial, we take whirlwind tour of how to create global variables using the weak map and the session type. This can be really confusing because there are limitations on what you can do and things are always changing and being deprecated. The good thing about global variables is that any class in your project can see them and access them. This video is a prerequisite for the next one.
An incorrect statement is made in this tutorial about the Session Type, so we are amending this video with the one below to explain why the statement was made. The GetSession can access the global variable from any class, even though there is only one instance of the Session type per round. It was not correct to say that it can't.
youtu.be/0noE4W2PsUE
In this tutorial, we take whirlwind tour of how to create global variables using the weak map and the session type. This can be really confusing because there are limitations on what you can do and things are always changing and being deprecated. The good thing about global variables is that any class in your project can see them and access them. This video is a prerequisite for the next one.










