Lynx

Home > @lynx-js/genui > RawResource > read

RawResource.read property

Warning: This API is now obsolete.

Read value / status directly. Retained for backwards compatibility; in the success state it returns the value, otherwise it returns undefined. It does not throw.

Signature:

read: () => T | undefined;
Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.