{"id":15411878,"url":"https://github.com/nkristek/reactivetimelane","last_synced_at":"2025-10-18T14:46:22.286Z","repository":{"id":143478146,"uuid":"266987139","full_name":"nkristek/ReactiveTimelane","owner":"nkristek","description":"Timelane + ReactiveSwift","archived":false,"fork":false,"pushed_at":"2020-10-02T09:23:13.000Z","size":55,"stargazers_count":14,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T07:21:47.602Z","etag":null,"topics":["hacktoberfest","reactiveswift","swift","timelane"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nkristek.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":"2020-05-26T08:29:08.000Z","updated_at":"2025-02-21T19:28:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"83163b6a-363e-42ea-9d4b-492083da6193","html_url":"https://github.com/nkristek/ReactiveTimelane","commit_stats":{"total_commits":21,"total_committers":4,"mean_commits":5.25,"dds":0.2857142857142857,"last_synced_commit":"2d6c542114abede6161f0f4edf2e9c9f1cf0a1d4"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkristek%2FReactiveTimelane","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkristek%2FReactiveTimelane/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkristek%2FReactiveTimelane/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkristek%2FReactiveTimelane/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nkristek","download_url":"https://codeload.github.com/nkristek/ReactiveTimelane/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249685148,"owners_count":21310555,"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":["hacktoberfest","reactiveswift","swift","timelane"],"created_at":"2024-10-01T16:50:29.102Z","updated_at":"2025-10-18T14:46:17.250Z","avatar_url":"https://github.com/nkristek.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReactiveTimelane\n[![CI Status](https://github.com/nkristek/ReactiveTimelane/workflows/CI/badge.svg)](https://github.com/nkristek/ReactiveTimelane/actions)\n\n**ReactiveTimelane** provides operators for `Signal`, `SignalProducer` and `Lifetime` in [ReactiveSwift](https://github.com/ReactiveCocoa/ReactiveSwift) for profiling streams and lifetimes with the Timelane Instrument.\n\n#### Contents:\n\n- [Usage](#usage)\n- [API Reference](#api-reference)\n- [Installation](#installation)\n- [Contribution](#contribution)\n\n## Usage\n\n\u003e Before making use of ReactiveTimelane, you need to install the Timelane Instrument from http://timelane.tools\n\nImport the `ReactiveTimelane` framework in your code:\n\n```swift\nimport ReactiveTimelane\n```\n\nUse the `lane(_:)` operator to profile a subscription via the TimelaneInstrument. Insert `lane(_:)` at the precise spot in your code you'd like to profile like so:\n\n```swift\nlet producer: SignalProducer\u003cVoid, Never\u003e = SignalProducer(value: ())\nproducer\n    .lane(\"Void producer\")\n    .start()\n```\n\nThen profile your project by clicking **Product \u003e Profile** in Xcode's main menu.\n\nFor a more detailed walkthrough go to [http://timelane.tools](http://timelane.tools).\n\n## API Reference\n\n### `lane(_:filter:)`\n\nUse `lane(\"Lane name\")` to send data to both the subscriptions and events lanes in the Timelane Instrument.\n\n`lane(\"Lane name\", filter: .subscription)` sends begin/completion events to the Subscriptions lane. Use this syntax if you only want to observe the lifetime of the `Signal` / `SignalProducer`.\n\n`lane(\"Lane name\", filter: .event)` sends events and values to the Events lane. Use this filter if you are only interested in the values the `Signal` / `SignalProducer` emits.\n\nAdditionally you can transform the values logged in Timelane by using the optional `transformValue` trailing closure:\n\n```swift\nlane(\"Lane name\", transformValue: { \"Value is \\($0)\" })\n```\n\n## Installation\n\n### Swift Package Manager\n\n#### Automatically in Xcode:\n\n- Click **File \u003e Swift Packages \u003e Add Package Dependency...**  \n- Use the package URL `https://github.com/nkristek/ReactiveTimelane` to add ReactiveTimelane to your project.\n\n#### Manually in your `Package.swift` file:\n\n```swift\n.package(url: \"https://github.com/nkristek/ReactiveTimelane\", from: \"1.1.0\")\n```\n\n## Contribution\n\nIf you find a bug feel free to open an issue. Contributions are also appreciated.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnkristek%2Freactivetimelane","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnkristek%2Freactivetimelane","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnkristek%2Freactivetimelane/lists"}