Slide 24
Slide 24 text
this.on("usersResponse", (e, response) => {
if (response.requestId === this.id) {
response.users.map(user => {
this.trigger("tweetsRequest", {
requestId: this.id,
userId: user.id
});
});
}
});
this.on("tweetsResponse", (e, response) => { /* ... */ });
this.trigger("usersRequest", { requestId: this.id });
@tgvashworth 24