Hi! I need to schedule a task to be executed after a second but I can't really find a suitable function.
There is Time.now but I need Time.now + 1 second. There is also Time.every but I need the task to be triggered only once and only starting from some user action (e.g. clicking a button). I guess I could use ports and subscribe for an action to be responded on the Javascript side using setTimeout()... but it just feels so awkward. Isn't there anything like "Time.after : Time -> Task x msg" existing? BR Nikolai -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
