@selkirk-systems/fetch

1.4.1 • Public • Published

Fetch

Abortable Fetch Library

Usage

import { Fetch } from "@selkirk-systems/fetch";

export const fetchAgreementsByFiscalYear = ( year ) => {

    dispatch( FETCH_AGREEMENTS );

    return Fetch( AGREEMENTS_LOOKUP_BY_FISCAL_YEAR_URL( { fiscalYear: year } ) ).then( respondWith( FETCHED_AGREEMENTS ) );

}

Readme

Keywords

none

Package Sidebar

Install

npm i @selkirk-systems/fetch

Weekly Downloads

14

Version

1.4.1

License

ISC

Unpacked Size

80.5 kB

Total Files

17

Last publish

Collaborators

  • mbernal