This is the dev preview website. Check out the document at lynxjs.org

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;