dapr / dapr/js-sdk

ActorStateManager.tryGetState

Open
#425 1 comment 0 reactions 1 assignee Assigned to @DeepanshuA View on GitHub
breaking-change enhancement pinned
Dominant language
JavaScript
Stars
217
Forks
104
PR merge metrics
No merged PRs in 30d

Description

The `ActorStateManager.tryGetState` method returns an array with the first element being a bool if the state exists and the second being the value if it does. This seems to be inconsistent with idiomatic Javascript and is also not well documented. This seems to be more like idiomatic Go, which is not generally well known to JS devs.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.