Nesinkrona

An asset by ydipeepo
The page banner background of a mountain and forest
Nesinkrona hero image

Quick Information

0 ratings
Nesinkrona icon image
ydipeepo
Nesinkrona

!! IMPORTANT !!This add-on is no longer maintained by me.And continues to be maintained here:https://github.com/folt-a/godot-nesink---I am notified here cause there is no way to delete the submitted assets.

Supported Engine Version
4.0
Version String
1.0.1
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

English | 日本語 | 简体中文


README MIT License README @ydipeepo


# Multiple Async or Signal or Coroutine can be combined into a new Async
var all_async := Async.all([
    Async.from(_coro), # from Async
    obj.signal,        # from Signal
    func(): return 0   # from Coroutine
])
var result = await all_async.wait()

# or you can await it immediately.
var result = await Async.wait_all([
    Async.from(_coro),
    obj.signal,
    func(): return 0
])

# Includes general patterns for await
Async.all()
Async.all_settled()
Async.any()
Async.race()
Async.wait_all()
Async.wait_all_settled()
Async.wait_any()
Async.wait_race()

# and support continuations and cancellations.
var another_async = async.then(func(prev_result):
    return prev_result * prev_result)
var cancel := Cancel.new()
await another_async.wait(cancel)

Nesinkrona (for Godot 4 β1, 2)

An addon to enhance the awaitability of GDScript 2.0.


  • It improves the readability and naturalness of code that is intermingled with signals and coroutines. (similar to Promise in JS or Task in C#).
  • Fast due to simple implementation.
  • Can be canceled from outside of await.
  • Contains patterns that reproduce iterations with yield. (experimental)



How do I use it?


Checking demos

  1. Git clone then open in Godot Engine.
  2. (Select demo/Demo.tscn as Main Scene then) F5!

Add-on installation

  1. Git clone then copy addons/godot-nesink to your project.
  2. Activate Nesinkrona addon.
  3. Code!

And details: 📖 Wiki (Google Translated)




Contributing

We are grateful to the community for contributing bug fixes, documentation, translations, and any other improvements!

!! IMPORTANT !!

This add-on is no longer maintained by me.
And continues to be maintained here:

https://github.com/folt-a/godot-nesink

---

I am notified here cause there is no way to delete the submitted assets.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Nesinkrona icon image
ydipeepo
Nesinkrona

!! IMPORTANT !!This add-on is no longer maintained by me.And continues to be maintained here:https://github.com/folt-a/godot-nesink---I am notified here cause there is no way to delete the submitted assets.

Supported Engine Version
4.0
Version String
1.0.1
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers