Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #46
Browse files Browse the repository at this point in the history
dev
  • Loading branch information
uurha committed Jul 19, 2023
1 parent bfb83c0 commit 2f2cf88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Runtime/Extension/ActionExtensions/ActionAwaiter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static Task Await<T>(this UnityEvent<T> action, CancellationToken cancell
return buffer.Initialize();
}

public static Task Await<T>(this UnityEvent action, T data, CancellationToken cancellationToken = default)
public static Task<T> Await<T>(this UnityEvent action, T data, CancellationToken cancellationToken = default)
{
var taskCompletionSource = new TaskCompletionSource<T>();
var buffer = new UnityEventDataWrapper<T>(taskCompletionSource, ref action, data);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "com.uurha.betterextensions",
"displayName": "Better Extensions",
"description": "Unity extensions, serialize extension, async extension, string extension and UI extensions",
"version": "1.1.9",
"version": "1.1.91",
"unity": "2020.1",
"author": {
"name": "Arcueid D'athemon",
Expand Down

0 comments on commit 2f2cf88

Please sign in to comment.