mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-12-02 02:04:45 +03:00
453 B
453 B
BlockSuite API Documentation / @blocksuite/store / jsValueToSessionValue
Function: jsValueToSessionValue()
jsValueToSessionValue(
val):SessionValue
Convert any JS / BlockSuite / Yjs value into a binary-tape SessionValue
for single-call atomic writes into YOctoDocSession.
Parameters
val
unknown
Returns
SessionValue