---
id: 7004
title: 'core.Effect: simplify the constructor signature'
state: CLOSED
labels:
  - enhancement
assignees: []
createdAt: '2025-07-10T13:17:14Z'
updatedAt: '2025-07-10T13:17:48Z'
githubUrl: 'https://github.com/neomjs/neo/issues/7004'
author: tobiu
commentsCount: 0
parentIssue: null
subIssues: []
subIssuesCompleted: 0
subIssuesTotal: 0
blockedBy: []
blocking: []
closedAt: '2025-07-10T13:17:48Z'
---
# core.Effect: simplify the constructor signature

* Current state: an object based param, containing `fn`
* `fn` is the only available and used param inside the object
* the new param should just be `fn`

## Timeline

- 2025-07-10T13:17:15Z @tobiu added the `enhancement` label
- 2025-07-10T13:17:37Z @tobiu referenced in commit `6888320` - "core.Effect: simplify the constructor signature #7004"
- 2025-07-10T13:17:48Z @tobiu closed this issue

