load<T> abstract method

Future<T?> load<T>(
  1. String? correlationId,
  2. String key
)

Loads state from the store using its key. If value is missing in the store it returns null.

  • correlationId (optional) transaction id to trace execution through call chain.
  • key a unique state key. Returns the state value or null if value wasn't found.

Implementation

Future<T?> load<T>(String? correlationId, String key);