fluq library

Classes

Fluq
Fluq instance
FluqProvider
Wrap your application or th part of it where you want to use fluq with this single provider
Mutation<ResultType>
Widget for handling mutations
QueryBuilder<ResultType>
Use this widget to access a query result reactively to state changes
QueryError
State used for error state it will be emitted when there is a catched error on the query fetch function it contains the error catched in the query fetch function
QueryListener<ResultType>
Use this widget to attach a listener to a query result reacting to state changes
QueryLoading
State used for loading state it will be the inital state when every query stream is created it will be the inital state when every query stream is invalidated
QueryModel<ParamType, ResultType>
extend this class to declare your queries implement the key getter returning an unique id for the query implement the fetch method returning data or errors
QueryResult<T>
State used for emitting the response data of the query it contains the returned value fron the query fetch function
QueryState