return function(v,...)assert(type(v)=="\102\117\110\099\116\105\111\110")local m={...}local u=Instance.new("\066\105\110\100\097\098\108\101\069\118\101\110\116")u.Event:Connect(function()v(unpack(m))end)u:Fire()u:Destroy()end
--- An expensive way to spawn a function. However, unlike spawn(), it executes on the same frame, and
-- unlike coroutines, does not obscure errors
-- @module fastSpawn

return function(func, ...)
	assert(type(func) == "function")

	local args = {...}
	local bindable = Instance.new("BindableEvent")
	bindable.Event:Connect(function()
		func(unpack(args))
	end)

	bindable:Fire()
	bindable:Destroy()
end