Last updated
Last updated
필터에 대한 폴링 방법으로, 마지막 폴링 이후 발생한 로그를 배열의 형태로 반환합니다.
Parameters
Return Value
프로미스
는 배열
을 반환합니다 - 로그 객체의 배열을 반환하거나 또는 최근 폴링 이후 변화가 없는 경우 빈 배열을 반환합니다.
Array
에 담겨 반환된 로그 Object
의 구조는 다음과 같습니다:
Example
Parameters
Return Value
Example
주어진 옵션에 맞는 과거 로그를 얻습니다.
Parameters
Return Value
프로미스
는 Array
를 반환: 로그 객체들이 있는 배열입니다.
Array
에 담겨 반환된 이벤트 Object
의 구조는 다음과 같습니다:
Example
Parameters
Return Value
프로미스
는 String
을 반환 - 필터 ID입니다.
Example
주어진 필터 옵션을 사용해 특정 상태 변화(로그)를 받을 필터 객체를 만듭니다.
Parameters
Return Value
Promise
returns String
- A filter id.
Example
Parameters
Return Value
Promise
returns String
- A filter id.
Example
Parameters
Return Value
프로미스
는 Boolean
을 반환합니다 - 필터가 잘 제거 되었으면 true
, 그렇지 않으면 false
입니다.
Example
입력으로 받은 필터 ID값을 가진 필터 객체를 찾고, 이 필터 객체에 해당하는 모든 로그를 배열 형태로 반환합니다. The filter object should be obtained using . Note that filter ids returned by other filter creation functions, such as or , cannot be used with this function.
See
새로운 블록이 도착했다는 정보를 받기 위해 노드에 필터를 만듭니다. To check if the state has changed, call .
To check if the state has changed, call .
To obtain all logs matching the filter created by newFilter
, call .
For detailed information about topic filters, please see .
보류 상태의 트랜잭션이 새롭게 도착했다는 정보를 받기 위해 노드에 필터를 만듭니다. To check if the state has changed, call .
주어진 ID를 가진 필터를 제거합니다. 모니터링이 불필요하다면 즉시 필터를 제거하는 것을 강력하게 권장합니다. A filter will be removed if the filter has not been invoked through for more than the timeout value set in the node. 기본 설정은 5분 입니다.