Skip to content

Commit

Permalink
[TS] Remove non used Async class
Browse files Browse the repository at this point in the history
  • Loading branch information
MangelMaxime committed Sep 28, 2024
1 parent f2597e7 commit 7070748
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/fable-library-ts/Async.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ import { protectedReturn } from "./AsyncBuilder.js";
import { FSharpChoice$2_$union, Choice_makeChoice1Of2, Choice_makeChoice2Of2 } from "./Choice.js";
import { TimeoutException } from "./SystemException.js";

// Implemented just for type references
export class Async<_T> { }

function emptyContinuation<T>(_x: T) {
// NOP
}
Expand Down Expand Up @@ -203,5 +200,3 @@ export function startAsPromise<T>(computation: IAsync<T>, cancellationToken?: Ca
startWithContinuations(computation, resolve, reject, reject,
cancellationToken ? cancellationToken : defaultCancellationToken));
}

export default Async;
4 changes: 4 additions & 0 deletions src/fable-library-ts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

### Removed

* Remove `Async` class (by @MangelMaxime)

## 1.5.0 - 2024-09-19

### Added
Expand Down

0 comments on commit 7070748

Please sign in to comment.