Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | This Source Code Form is subject to the terms of |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | provisional |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- type Acceptor a = Request a -> Either Error (Response a) -> Maybe Accept
- data Accept
- data Wait a = Wait {
- _waitName :: ByteString
- _waitAttempts :: !Int
- _waitDelay :: !Seconds
- _waitAcceptors :: [Acceptor a]
- accept :: Wait a -> Acceptor a
- matchAll :: Eq b => b -> Accept -> Fold (Rs a) b -> Acceptor a
- matchAny :: Eq b => b -> Accept -> Fold (Rs a) b -> Acceptor a
- matchNonEmpty :: Bool -> Accept -> Fold (Rs a) b -> Acceptor a
- matchError :: ErrorCode -> Accept -> Acceptor a
- matchStatus :: Int -> Accept -> Acceptor a
- nonEmptyText :: Fold a Text -> Fold a Bool
Types
Timing and acceptance criteria to check fulfillment of a remote operation.
Wait | |
|