Welcome to faunadb-real-time 👋
Higher-Order-Function/Wrapper for "smartly" polling FaunaDB.
Install
npm i faunadb-real-time
or
yarn add faunadb-real-time
How to Use
const withRealTimeMethods = ;const Client = ; const client = ; // Index must return a FaunaDB TS as the first element.// Additionally, returning the Document's Ref afterwards...// is useful for reading the entire Document, after mapping (as seen below).const subscribable = client const unsubscribeA = subscribable ; const unsubscribeB = subscribable ;
Author
👤 Taro taro.s.chiba@gmail.com
- Website: cooksto.com
- Twitter: @potato_potaro
- Github: @potatopotaro
- LinkedIn: @taro-woollett-chiba-25a802125
Show your support
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator