Adding once which executes the passed function only once
Merge pull request #117 from ankurp/add-once-func

Adding once which executes the passed function only once