Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
chore(actions/utils): add comment about Awral
Browse files Browse the repository at this point in the history
chore(actions/utils): add comment about Awral
  • Loading branch information
Metnew committed Oct 13, 2017
1 parent 6289132 commit 998ee96
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/common/actions/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,10 @@ import Awral from 'awral'
const check = (result: Object = {ok: false}): boolean => result.ok
const beforeCheck = a => a
const afterCheck = a => a.data
// Create default Awral
/**
Create default Awral
Awral is my own tool.
It's not well known, but it can make your work with actions even more simpler.
{@link https://github.com/Metnew/awral}
*/
export const awral = Awral.of({check, beforeCheck, afterCheck})

0 comments on commit 998ee96

Please sign in to comment.