Skip to content

Commit

Permalink
guaranteing async results
Browse files Browse the repository at this point in the history
  • Loading branch information
lmajano committed Mar 5, 2024
1 parent abd4d84 commit a25e264
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/specs/async/AsyncManagerSpec.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ component extends="BaseAsyncSpec" {
var f1 = asyncManager
.newFuture()
.run( function(){
sleep( 1000 );
sleep( 2000 );
return "hello";
} );
var f2 = asyncManager
Expand All @@ -265,7 +265,7 @@ component extends="BaseAsyncSpec" {

it( "can process multiple closures in parallel via the anyOf() method", function(){
var f1 = function(){
sleep( 1000 );
sleep( 2000 );
return "hello";
};
var f2 = function(){
Expand Down

0 comments on commit a25e264

Please sign in to comment.