Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sdk): Export stream metadata utils (#2971)
Export `parseStreamMetadata()` and `getStreamPartitionCount()` utility functions. Note that we've added word _stream_ to make it more explicit which kind of metadata these process. The `getStreamPartitionCount()` is needed e.g. when parsing `StreamMetadata` which has been emitted from `streamCreated` event. For other usages `parseStreamMetadata()` is maybe useful.
- Loading branch information