{"id":18785551,"url":"https://github.com/d-exclaimation/timing","last_synced_at":"2025-06-12T01:03:46.131Z","repository":{"id":103063103,"uuid":"382277817","full_name":"d-exclaimation/timing","owner":"d-exclaimation","description":"In case, you miss setTimeout and setInterval while using Elixir","archived":false,"fork":false,"pushed_at":"2021-07-22T12:54:39.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T12:39:04.900Z","etag":null,"topics":["concurrency","elixir","loops","non-blocking","timer"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/d-exclaimation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-07-02T08:14:10.000Z","updated_at":"2021-07-22T12:59:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"eb49000c-64c1-48f9-985c-9f2f01b39562","html_url":"https://github.com/d-exclaimation/timing","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/d-exclaimation%2Ftiming","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-exclaimation%2Ftiming/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-exclaimation%2Ftiming/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-exclaimation%2Ftiming/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d-exclaimation","download_url":"https://codeload.github.com/d-exclaimation/timing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239701778,"owners_count":19682975,"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":["concurrency","elixir","loops","non-blocking","timer"],"created_at":"2024-11-07T20:48:46.309Z","updated_at":"2025-02-19T17:25:48.056Z","avatar_url":"https://github.com/d-exclaimation.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Timing\n\nWrapping Library to perform common timing callbacks\n\n## Usage\n\nHaven't made this to work with mix at all\n\n### Manual\n1. Clone / Copy all the files in a directory in your project\n2. Add to supervision tree\n```elixir\ndef start(_type, _args) do\n  children = [\n    # Timing function seperate thread task capabilities\n    {Timing.Supervisor, name: Timing.Supervisor},\n  ]\n  # ... your stuff here\nend\n```\n3. Use the Timing to perform setTimeout and setInterval etc\n```elixir\nref = Timing.timeout(2000, fn -\u003e\n  # ... Some stuff here\nend)\n\n# ...\n\nTiming.clear(ref) # Cancel callback\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-exclaimation%2Ftiming","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd-exclaimation%2Ftiming","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-exclaimation%2Ftiming/lists"}