description

# timeout property Null safety

int? timeout

Length of time in milliseconds before a request is automatically terminated.

When the time has passed, a `TimeoutEvent` is dispatched.

If timeout is set to 0, then the request will not time out.

## Other resources

- XMLHttpRequest.timeout from MDN.
- The timeout attribute from W3C.

## Implementation

    int? get timeout native;

void timeout= (int? value)

## Implementation

    set timeout(int? value) native;