Skip to content

Commit

Permalink
Merge pull request #176 from neimanpinchas/patch-1
Browse files Browse the repository at this point in the history
Add support for .NET core by adding a named param
  • Loading branch information
back2dos authored Nov 22, 2024
2 parents 670bc1d + c5eca7a commit 323f80d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tink/core/Progress.hx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ abstract Progress<T>(ProgressObject<T>) from ProgressObject<T> {

private class SuspendableProgress<T> extends ProgressObject<T> {

function noop(_, _) return null;
function noop(_, _b) return null;
public function new(wakeup:(fire:ProgressStatus<T>->Void)->CallbackLink, ?status) {
if (status == null)
status = InProgress(ProgressValue.ZERO);
Expand Down Expand Up @@ -216,4 +216,4 @@ class TotalTools {
class ProgressTools {
public static inline function asPromise<T>(p:Progress<Outcome<T, Error>>):Promise<T>
return p.result;
}
}

0 comments on commit 323f80d

Please sign in to comment.