mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-31 15:43:01 +00:00 
			
		
		
		
	Fix ev/call doc
This commit is contained in:
		| @@ -3148,8 +3148,10 @@ | |||||||
|   (defn net/close "Alias for ev/close." [stream] (ev/close stream)) |   (defn net/close "Alias for ev/close." [stream] (ev/close stream)) | ||||||
|  |  | ||||||
|   (defn ev/call |   (defn ev/call | ||||||
|     "Call a function asynchronously. Returns a fiber that is scheduled to " |     ``` | ||||||
|     "run the function." |     Call a function asynchronously. | ||||||
|  |     Returns a fiber that is scheduled to run the function. | ||||||
|  |     ``` | ||||||
|     [f & args] |     [f & args] | ||||||
|     (ev/go (fiber/new (fn [&] (f ;args)) :tp))) |     (ev/go (fiber/new (fn [&] (f ;args)) :tp))) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Josef Pospíšil
					Josef Pospíšil