Skip to content

Commit

Permalink
Resource computation block (#2571)
Browse files Browse the repository at this point in the history
  • Loading branch information
nomisRev committed Nov 11, 2021
1 parent 1e2c808 commit 9928d16
Show file tree
Hide file tree
Showing 5 changed files with 376 additions and 212 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Expand Up @@ -57,7 +57,7 @@ jobs:

linux_jvm_and_js:
runs-on: ubuntu-latest
timeout-minutes: 25
timeout-minutes: 60

steps:
- uses: actions/checkout@v2
Expand Down
10 changes: 10 additions & 0 deletions arrow-libs/fx/arrow-fx-coroutines/api/arrow-fx-coroutines.api
Expand Up @@ -354,7 +354,9 @@ public final class arrow/fx/coroutines/ResourceExtensionsKt {
}

public final class arrow/fx/coroutines/ResourceKt {
public static final fun release (Larrow/fx/coroutines/Resource;Lkotlin/jvm/functions/Function2;)Larrow/fx/coroutines/Resource;
public static final fun release-zgiIeyo (Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function2;)Larrow/fx/coroutines/Resource;
public static final fun releaseCase (Larrow/fx/coroutines/Resource;Lkotlin/jvm/functions/Function3;)Larrow/fx/coroutines/Resource;
public static final fun releaseCase-zgiIeyo (Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function3;)Larrow/fx/coroutines/Resource;
public static final fun resource (Lkotlin/jvm/functions/Function1;)Lkotlin/jvm/functions/Function1;
public static final fun sequence (Ljava/lang/Iterable;)Larrow/fx/coroutines/Resource;
Expand Down Expand Up @@ -488,3 +490,11 @@ public final class arrow/fx/coroutines/Use {
public final synthetic fun unbox-impl ()Lkotlin/jvm/functions/Function1;
}

public abstract interface class arrow/fx/coroutines/computations/ResourceEffect {
public abstract fun bind (Larrow/fx/coroutines/Resource;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
}

public final class arrow/fx/coroutines/computations/ResourceKt {
public static final fun resource (Lkotlin/jvm/functions/Function2;)Larrow/fx/coroutines/Resource;
}

0 comments on commit 9928d16

Please sign in to comment.