Skip to content

Task

export type Task = 
    Instance 
    | RBXScriptConnection
    | () -> () 
    | {destroy: (self) -> ()} 
    | {Destroy: (self) -> ()} 
    | {Task}
Types which doCleanup has defined behaviour for.

Not enforced

Fusion does not use static types to enforce that doCleanup is given a type which it can process.

This type is only exposed for your own use.


Learn More

Back to top