Added Chemical.Nothing() README.md

This commit is contained in:
Sovereignty 2025-06-03 21:06:55 +02:00 committed by GitHub
parent 762025df39
commit aeeb097530
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,6 +26,7 @@
8. [Utility Functions](#8-utility-functions) 8. [Utility Functions](#8-utility-functions)
* [Await: `Chemical.Await()`](#chemical-await) * [Await: `Chemical.Await()`](#chemical-await)
* [Destroy: `Chemical.Destroy()`](#chemical-destroy) * [Destroy: `Chemical.Destroy()`](#chemical-destroy)
* [Nothing: `Chemical.Nothing()`](#chemical-nothing)
9. [Under The Hood (Advanced)](#9-under-the-hood-advanced) 9. [Under The Hood (Advanced)](#9-under-the-hood-advanced)
* [Networking (`Suphi Packet`)](#networking-packagespacket) * [Networking (`Suphi Packet`)](#networking-packagespacket)
10. [Type System](#10-type-system) 10. [Type System](#10-type-system)
@ -733,6 +734,10 @@ Router:exit("/home") -- homePageElement becomes false
* Threads: Calls `task.cancel(thread)`. * Threads: Calls `task.cancel(thread)`.
* Tables: Recurscively calls `Chemical.Destroy(Table)`. * Tables: Recurscively calls `Chemical.Destroy(Table)`.
### Chemical Nothing
* **`Chemical.Nothing()`**
As the name implies, it does nothing. This can be useful when you want to specify that the cleanup of a Computed or Iterator should do nothing.
## 9. Under The Hood (Advanced) ## 9. Under The Hood (Advanced)
### Networking (`Packages.Packet`) ### Networking (`Packages.Packet`)