Preparing search index...
The search index is not available
y-sweet
y-sweet
@y-sweet/react
createYjsProvider
Function createYjsProvider
create
Yjs
Provider
(
doc
,
docId
,
authEndpoint
,
extraOptions
?
)
:
Promise
<
YSweetProviderWithClientToken
>
Given a docId and
AuthEndpoint
, create a
YSweetProvider
for it.
Parameters
doc
:
Doc
docId
:
string
authEndpoint
:
AuthEndpoint
Optional
extraOptions
:
Partial
<
YSweetProviderParams
>
Returns
Promise
<
YSweetProviderWithClientToken
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
y-sweet
Loading...
Given a docId and AuthEndpoint, create a YSweetProvider for it.