Skip to content

Commit cdd2c1c

Browse files
committed
Fix promise/future typo
1 parent fb41145 commit cdd2c1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

temporal-sdk/src/main/java/io/temporal/worker/tuning/SlotSupplier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
public interface SlotSupplier<SI extends SlotInfo> {
3838
/**
3939
* This function is called before polling for new tasks. Your implementation should return a
40-
* Promise that is completed with a {@link SlotPermit} when one becomes available.
40+
* future that is completed with a {@link SlotPermit} when one becomes available.
4141
*
4242
* <p>These futures may be cancelled if the worker is shutting down or otherwise abandons the
4343
* reservation. This can cause an {@link InterruptedException} to be thrown, in the thread running

0 commit comments

Comments
 (0)