 	fnQueue = Array 1000
 	fnQueueLen = 0
 
+	###*
+	 * Run all queued functions.
+	 * @private
+	###
 	flush = ->
 		i = 0
 		while i < fnQueueLen

			resolvePromise p, $rejected, e
			return $tryErr

	getX = (self, p, handler) ->
		try
			handler self._value

	###*
	 * Resolve or reject primise with value x. The x can also be a thenable.
	 * @private
	 * @param {Yaku} p
	 * @param {Any | Thenable} x A normal value or a thenable.
	###
	resolveValue = (p, x) ->
