Is it possible?
I have an small example of multitasking which I wonder is possible.
local message = read() -- Now it normaly would wait for a response for the read function, -- but is it possible to make it do functions before the function -- recieve any data? ex. ---------------------------------- local message = read() -- V This will happen when its waiting for response. while message = false then -- Do something end -- In the while statement I guess there would be something else ofcourse, but how? -- V Will happen when its getting response for read() if message=="String" then -- Do something end -- Is it possible?