finished?

check if given task has finished (successfully, with error, or cancelled)


Parameters

finished? task :task

Returns

  • :logical

Examples

copy
; (draft) poll a task without blocking ; ; t: request.async "https://example.com" ; while [not? finished? t][ pause 100 ]

Related