Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ fromString
Function
fromString
packages/effect/src/unstable/cluster/ShardId.ts:175–178 ·
view source on GitHub ↗
(s: string)
Source
from the content-addressed store, hash-verified
173
* @since 4.0.0
174
*/
175
export
function
fromString(s: string): ShardId {
176
const
encoded = fromStringEncoded(s)
177
return
make(encoded.group, encoded.id)
178
}
Callers
nothing calls this directly
Calls
2
fromStringEncoded
Function · 0.85
make
Function · 0.70
Tested by
no test coverage detected