{"id":22576959,"url":"https://github.com/danvc/dronedeploy","last_synced_at":"2025-03-28T15:44:58.667Z","repository":{"id":126687829,"uuid":"113729014","full_name":"danvc/DroneDeploy","owner":"danvc","description":"It's an implementation of an interesting challenge offered by DroneDeploy. ","archived":false,"fork":false,"pushed_at":"2017-12-10T06:45:08.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-02T15:55:52.813Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.dronedeploy.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danvc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-10T06:34:50.000Z","updated_at":"2017-12-10T06:44:15.000Z","dependencies_parsed_at":"2023-06-17T16:33:10.190Z","dependency_job_id":null,"html_url":"https://github.com/danvc/DroneDeploy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danvc%2FDroneDeploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danvc%2FDroneDeploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danvc%2FDroneDeploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danvc%2FDroneDeploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danvc","download_url":"https://codeload.github.com/danvc/DroneDeploy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246057964,"owners_count":20717023,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-08T04:10:26.028Z","updated_at":"2025-03-28T15:44:58.646Z","avatar_url":"https://github.com/danvc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"The following challenge is an interesting challenged offered by DroneDeploy. Try to do it wihtout looking the source code. Good Luck\n\nBelow is a drone object with six methods.\nEach method takes a callback and after some amount of time will execute that callback \nFor ease of testing, it will also console.log a value.\n\nAt the bottom of the page the expected output is logged.\nWe invoke the chained call of the drone object. \nHowever the drone object does not yet have a chained api.\n\nAdd a chained api to the drone object by only modifying the code in the middle of the page.\n\nA good answer should include the following criteria.\n1. Code was only added between the below comments.\n2. Each method in the chain executes only after the previous method has resolved\n3. Your solution should be flexible to rearranging the methods or changing the timeouts.\n4. Your solution should not change the behavior/side affects of the original methods. \n\nYou should assume that you don't know how the methods on the Drone object are implemented. \nOnly that they may or may not be asynchronous and and that they take a callback\nthat will be called when the action is completed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanvc%2Fdronedeploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanvc%2Fdronedeploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanvc%2Fdronedeploy/lists"}