Flow is a state of mind, and given its vivid systematic components, I think it can be also viewed as a framework.
And feedback is a crucial part of reaching flow, two of my sources on the topic are:
Flow: The psychology of optimal experience (by Mihaly Csikszentmihalyi)
Finding Flow (Same author)
And, payoff by Dan Ariely.