call-continue ( params quot1: ( params -- obj assoc ) quot2: ( ... -- ... ) -- seq ) (original) (raw)

Vocabulary
mediawiki.api

Inputs

params an assoc of API call parameters
quot1 a quotation with stack effect ( params -- obj assoc )
quot2 a quotation with stack effect ( ... -- ... )

Outputs

Word description
Calls the API until all input is consumed.

Notes
This word is used in the implementation of query.

Examples

USING: mediawiki.api assocs kernel ; { { "meta" "tokens" } { "type" "watch" } } query "watchtoken" of "Category:Concatenative programming languages" "Category:Stack-oriented programming languages" [| token cat | { { "action" "watch" } { "generator" "categorymembers" } { "gcmtitle" cat } { "gcmnamespace" 0 } { "gcmtype" "page" } { "gcmlimit" 50 } { "token" token } } [ api-call dup ] [ ] call-continue drop ] bi-curry@ bi

Definition