MCPcopy 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 */
175export 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

fromStringEncodedFunction · 0.85
makeFunction · 0.70

Tested by

no test coverage detected