Skip to content

Instantly share code, notes, and snippets.

@malcommac
Created February 4, 2017 11:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save malcommac/a007bf71565fd014420c46bb6d93f763 to your computer and use it in GitHub Desktop.
Save malcommac/a007bf71565fd014420c46bb6d93f763 to your computer and use it in GitHub Desktop.
Hydra_Internals_8.swift
internal func resetState() {
self.stateQueue.sync {
self.bodyCalled = false
self.state = .pending
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment