Skip to content
Snippets Groups Projects
Select Git revision
  • 8ebcd0e8b5326941e0cc3e9d8376ed937870db23
  • main default protected
  • renovate/lock-file-maintenance
  • demo protected
  • person-select-custom
  • dbp-translation-component
  • icon-set-mapping
  • port-i18next-parser
  • remove-sentry
  • favorites-and-recent-files
  • revert-6c632dc6
  • lit2
  • advertisement
  • wc-part
  • automagic
  • publish
  • wip-cleanup
  • demo-file-handling
18 results

abort.js

Blame
    • Reiter, Christoph's avatar
      befe70ea
      Add AbortController related helpers · befe70ea
      Reiter, Christoph authored
      These allow linking multiple AbortControllers and ceate a timeout abort signal.
      
      For example in case you want to abort a fetch in case
      
      (1) the UI element gets removed
      (2) a newer request replacing this one gets started
      (3) a timeout happens because the fetch takes too long
      
      createLinkedAbortController() allows merging multiple signals into one
      and createTimeoutAbortSignal() allows creating a singal that auto aborts
      after some time passes.
      befe70ea
      History
      Add AbortController related helpers
      Reiter, Christoph authored
      These allow linking multiple AbortControllers and ceate a timeout abort signal.
      
      For example in case you want to abort a fetch in case
      
      (1) the UI element gets removed
      (2) a newer request replacing this one gets started
      (3) a timeout happens because the fetch takes too long
      
      createLinkedAbortController() allows merging multiple signals into one
      and createTimeoutAbortSignal() allows creating a singal that auto aborts
      after some time passes.
    phpstan.neon 231 B
    includes:
        - vendor/phpstan/phpstan-phpunit/extension.neon
        - vendor/phpstan/phpstan-symfony/extension.neon
    
    parameters:
        inferPrivatePropertyTypeFromConstructor: true
        level: 3
        paths:
            - src
            - tests