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
const takeLatest = (patternOrChannel, saga, ...args) => fork(function* () | |
{ | |
let lastTask | |
while (true) | |
{ | |
const action = yield take(patternOrChannel) | |
if (lastTask) | |
{ | |
yield cancel(lastTask) // cancel is no-op if the task has already terminated | |
} |
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
{ | |
"undefined": { | |
"body": [ | |
" const styles = StyleSheet.create({", | |
" ", | |
" })" | |
] | |
}, | |
"react-native Stylesheet create": { | |
"prefix": "Scre", |
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
FileBriefDescriptionAdapter(Context context, RecyclerView recyclerView, List<FileBriefDescription> data) | |
{ | |
this.context = context; | |
this.fileBriefDescriptions = data; | |
this.recyclerView = recyclerView; | |
// fileBriefDescriptionsCopy is only read after this and never changed | |
this.fileBriefDescriptionsCopy.addAll(fileBriefDescriptions); | |
} | |
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
-------------------------------------------------------- | |
-- File created - Saturday-October-26-2019 | |
-------------------------------------------------------- | |
-------------------------------------------------------- | |
-- DDL for Table STUDENTS | |
-------------------------------------------------------- | |
CREATE TABLE "HR"."STUDENTS" | |
( "ID" NUMBER(*,0), | |
"FIRST_NAME" VARCHAR2(50), |