addAction method
- [[CachedUserAction] action]
)
Adds an action to the queue with a TTL.
params:
action
: the action to be added.
returns:
Future<bool>
: returns true if the action was added successfully, otherwise false.
Implementation
Future<bool> addAction(CachedUserAction action) async
- talawa
- offline_action_queue
- OfflineActionQueue
- addAction method