Skip to content

Home > @world-wide-lab/client > Session > update

Session.update() method

Update the session's meta-data.

Signature:

typescript
update(data: ClientSessionUpdateOptions): Promise<boolean>;

Parameters

Parameter

Type

Description

data

ClientSessionUpdateOptions

The data to update. Can contain privateInfo and/or publicInfo. The publicInfo can be retrieved later on without authentication, the privateInfo can only be downlaoded later on by the researcher.

**Returns:**

Promise<boolean>