timeout (property)

How long vault events may execute before timing out. (Windows only).

Syntax

@property (nonatomic,readwrite,assign,getter=timeout,setter=setTimeout:) int timeout;
- (int)timeout;
- (void)setTimeout:(int)newTimeout;
public var timeout: Int32 {
  get {...}
set {...} }

Default Value

0

Remarks

This property specifies how long the events may execute before timing out.

When this property is set to a non-zero value, and an event executes long enough for its timeout to expire, the driver cancels the underlying request by reporting an error to the OS. The tardy event still runs to completion, but any results it returns once finished are ignored since the underlying request has already been handled.

Setting this property to 0 disables event timeouts, which allows events to take as long as necessary to execute.

Note: This property cannot be changed within events.

Copyright (c) 2021 Callback Technologies, Inc. - All rights reserved.
CBFS Storage 2020 iOS Edition - Version 20.0 [Build 8031]