This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export type RepeatUntilOperator = <T>( | |
conditionChecker: (response: T) => boolean, | |
delayInterval?: number | |
) => (source$: Observable<T>) => Observable<T>; | |
/** | |
* Rerun source observable until the response meets a defined condition. | |
* @param conditionChecker Function which checks every response for a given condition | |
* @param delayInterval [Optional] Delay between a response and a new request if condition is not met. Unit: ms. Default: 5000. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.type.storage,.type.storage.declaration, .storage.class.modifier { | |
font-family: 'Operator Mono Book'; | |
} | |
.type.storage.arrow.function { | |
font-family: 'Fira Code' | |
} | |
.token.keyword.operator { | |
font-family: 'Fira Code' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Usage: | |
// Put this in a separate file and load it as the first module | |
// (See https://github.com/jrburke/requirejs/wiki/Internal-API:-onResourceLoad) | |
// Methods available after page load: | |
// rtree.map() | |
// - Fills out every module's map property under rtree.tree. | |
// - Print out rtree.tree in the console to see their map property. | |
// rtree.toUml() | |
// - Print out Graphviz object which can be visualised e.g. dagred3 (http://cpettitt.github.io/project/dagre-d3/latest/demo/interactive-demo.html) | |
// - Prints out a UML string that can be used to generate UML |