useServiceDiscovery
Overview
Namespace containing useServiceDiscovery utilities
Functions
getAsyncStorage
Import
You can import the entire package and access the function:
_10import * as fcl from "@onflow/fcl-react-native"_10_10fcl.useServiceDiscovery.getAsyncStorage()
Or import the namespace directly:
_10import { useServiceDiscovery } from "@onflow/fcl-react-native"_10_10useServiceDiscovery.getAsyncStorage()
Returns
_10{ can: boolean; get: (key: string) => Promise<any>; put: (key: string, value: any) => Promise<void>; }