Skip to content

Commit ad3ab22

Browse files
committed
update doc with the new config
1 parent c083d6f commit ad3ab22

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/spec/waitForCondition.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,13 +131,15 @@ Validation: maxAttempts > 0, initialDelay >= 1s, maxDelay >= 1s, backoffRate >=
131131
public class WaitForConditionConfig<T> {
132132
public static <T> Builder<T> builder();
133133

134-
public WaitForConditionWaitStrategy<T> waitStrategy(); // defaults to WaitStrategies.defaultStrategy()
134+
public WaitForConditionWaitStrategy<T> waitStrategy(); // defaults to WaitStrategies.defaultStrategy()
135135
public SerDes serDes(); // defaults to null (uses handler default)
136+
public T initialState(); // defaults to null
136137
public Builder<T> toBuilder(); // for internal SerDes injection
137138

138139
public static class Builder<T> {
139140
public Builder<T> waitStrategy(WaitForConditionWaitStrategy<T> waitStrategy);
140141
public Builder<T> serDes(SerDes serDes);
142+
public Builder<T> initialState(T state);
141143
public WaitForConditionConfig<T> build();
142144
}
143145
}

0 commit comments

Comments
 (0)