Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tinkerer-red committed Jun 17, 2024
2 parents 30a4fe8 + 3b8038a commit ed6daa2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# GML Promises v1.0.0
Asynchronous Handling for GameMaker 2022.5+

## [Docs](https://tinkerer-red.github.io/GML-Promise/#/1.0/)

### Quick Disclaimer!
This library does not introduce true multithreading into GML but allows asynchronous operations to be handled more predictably through promises. This is similar to breaking down code to be spread across several frames rather than executing long operations directly within a step event, potentially blocking the main game loop.

Expand Down Expand Up @@ -127,4 +129,4 @@ network_connect_async_promise("127.0.0.1", 8080)
});
```
### Conclusion
This library brings the power and flexibility of JavaScript-like promises to GameMaker Studio, helping to manage asynchronous operations cleanly and effectively. For more complex scenarios, consider chaining multiple promises or handling errors at different stages of your game's logic.
This library brings the power and flexibility of JavaScript-like promises to GameMaker Studio, helping to manage asynchronous operations cleanly and effectively. For more complex scenarios, consider chaining multiple promises or handling errors at different stages of your game's logic.

0 comments on commit ed6daa2

Please sign in to comment.