Creates a Readonly with the given value.
A tuple with the Readonly and a function to set the value.
Creates a Readonly with the given value.
Optionalconfig:
Config<any[]>
Optional custom config.
A tuple with the Readonly and a function to set the value.
Creates a Readonly with the given value.
A tuple with the Readonly and a function to set the value.
Creates an OwnedReadable.
Param: value
Initial value.
Param: config
Optional custom Config.
Returns
A tuple containing the OwnedReadable and a setter function.