Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- class HasSyncTimeoutOption a where
- setSyncTimeout :: Maybe Int -> a -> a
- syncTimeout :: HasSyncTimeoutOption a => Int -> a -> a
- syncOff :: HasSyncTimeoutOption a => a -> a
Documentation
class HasSyncTimeoutOption a where Source #
setSyncTimeout :: Maybe Int -> a -> a Source #
Instances
HasSyncTimeoutOption StateParams Source # | |
Defined in System.Directory.Watchman.State setSyncTimeout :: Maybe Int -> StateParams -> StateParams Source # | |
HasSyncTimeoutOption QueryParams Source # | |
Defined in System.Directory.Watchman.Query setSyncTimeout :: Maybe Int -> QueryParams -> QueryParams Source # |
:: HasSyncTimeoutOption a | |
=> Int | Time to wait in milliseconds |
-> a -> a |
Set the timeout value for query synchronization. If the timeout passes, the command will return with an error.
syncOff :: HasSyncTimeoutOption a => a -> a Source #
Disable query synchronization for this command.
The query will be evaluated over the present view of the tree, which may lag behind the present state of the filesystem.