nl_tokens: Triggers a network request to fetch posts for the specified site and query .
pl_tokens: function requestPosts ( siteId , query = { } ) { return dispatch => { dispatch ( { type : POSTS_REQUEST , siteId , query , } ) ; const <mask> = siteId ? wpcom . site ( siteId ) : wpcom . me ( ) ; return source . postsList ( { ... query } ) . then ( ( { found , posts } ) => { dispatch ( receivePosts ( posts ) ) ; dispatch ( { type : POSTS_REQUEST_SUCCESS , siteId , query , found , posts , } ) ; } ) . catch ( error => { dispatch ( { type : POSTS_REQUEST_FAILURE , siteId , query , error , } ) ; } ) ; } ; }