| Package | Description |
|---|---|
| com.couchbase.client.core.util |
| Modifier and Type | Method and Description |
|---|---|
static <S> SingleStateful<S> |
SingleStateful.fromInitial(S initialState)
Creates a new stateful component with an initial state.
|
static <S> SingleStateful<S> |
SingleStateful.fromInitial(S initialState,
BiConsumer<S,S> beforeTransitionCallback)
Creates a new stateful component with an initial state.
|
Copyright © 2024 Couchbase, Inc.. All rights reserved.